]> git.saurik.com Git - wxWidgets.git/commitdiff
fix non-standard c warnings - stab to fix overflow warnings
authorRyan Norton <wxprojects@comcast.net>
Thu, 25 Nov 2004 15:34:38 +0000 (15:34 +0000)
committerRyan Norton <wxprojects@comcast.net>
Thu, 25 Nov 2004 15:34:38 +0000 (15:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/extended.c

index a356aa1d55842c349fbc32f019fd010e931340b3..af12b013f0f4d521fd65224333a7cd7605a9c5e2 100644 (file)
@@ -61,7 +61,7 @@
 
 #ifndef HUGE_VAL
 # define HUGE_VAL HUGE
-#endif HUGE_VAL
+#endif /*HUGE_VAL*/
 
 
 /****************************************************************
 #ifdef applec  /* The Apple C compiler works */
 # define FloatToUnsigned(f)    ((wxUint32)(f))
 # define UnsignedToFloat(u)    ((wxFloat64)(u))
-#else applec
-# define FloatToUnsigned(f)    ((wxUint32)(((wxInt32)((f) - 2147483648.0)) + 2147483647L + 1))
+#else /*applec*/
+# define FloatToUnsigned(f)    ((wxUint32)((((wxInt32)((f) - 2147483648.0)) + 2147483647L) + 1))
 # define UnsignedToFloat(u)    (((wxFloat64)((wxInt32)((u) - 2147483647L - 1))) + 2147483648.0)
-#endif applec
-
+#endif /*applec*/