summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openmp/runtime/src/kmp_utility.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_utility.c b/openmp/runtime/src/kmp_utility.c
index c3fb78200b5..761fd06ac2e 100644
--- a/openmp/runtime/src/kmp_utility.c
+++ b/openmp/runtime/src/kmp_utility.c
@@ -114,7 +114,7 @@ __kmp_parse_frequency( // R: Frequency in Hz.
if ( frequency == NULL ) {
return result;
}; // if
- value = strtod( frequency, (char * *) & unit ); // strtod() does not like "char conts *".
+ value = strtod( frequency, (char * *) & unit ); // strtod() does not like "char const *".
if ( 0 < value && value <= DBL_MAX ) { // Good value (not overflow, underflow, etc).
if ( strcmp( unit, "MHz" ) == 0 ) {
value = value * 1.0E+6;
OpenPOWER on IntegriCloud