]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/extended.c
tree ctrl sorting shouldn't crash when items don't have data
[wxWidgets.git] / src / common / extended.c
index 3bba986f4b6527e43210db6c81b6d29f19abdd57..1dae07e953a493a7911a39ac9911222b22f0f222 100644 (file)
@@ -82,10 +82,10 @@ void ConvertToIeeeExtended(double num, unsigned char *bytes)
                }
        }
 
-    // disable the warning about 'possible loss of data'
+    /* disable the warning about 'possible loss of data' */
     #ifdef _MSC_VER
         #pragma warning(disable: 4244)
-    #endif // Visual C++
+    #endif /* Visual C++ */
 
        bytes[0] = expon >> 8;
        bytes[1] = expon;
@@ -100,7 +100,7 @@ void ConvertToIeeeExtended(double num, unsigned char *bytes)
 
     #ifdef _MSC_VER
         #pragma warning(default: 4244)
-    #endif // Visual C++
+    #endif /* Visual C++ */
 }
 
 /*