[Openmp-commits] [openmp] r263586 - Fix spelling error in comment

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Tue Mar 15 13:59:10 PDT 2016


Author: jlpeyton
Date: Tue Mar 15 15:59:10 2016
New Revision: 263586

URL: http://llvm.org/viewvc/llvm-project?rev=263586&view=rev
Log:
Fix spelling error in comment

Modified:
    openmp/trunk/runtime/src/kmp_utility.c

Modified: openmp/trunk/runtime/src/kmp_utility.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_utility.c?rev=263586&r1=263585&r2=263586&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_utility.c (original)
+++ openmp/trunk/runtime/src/kmp_utility.c Tue Mar 15 15:59:10 2016
@@ -114,7 +114,7 @@ __kmp_parse_frequency(        // R: Freq
     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;




More information about the Openmp-commits mailing list