]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/testarray.c
Update usage info.
[thirdparty/cups.git] / cups / testarray.c
index 0bfee7cfc207168311da3c40ffe886190978878b..185fcbec57c0a621a0176aee5eb7ccc367840f21 100644 (file)
@@ -228,8 +228,7 @@ main(void)
     puts("PASS");
   else
   {
-    printf("FAIL (returned %p with %d elements, expected pointer with 4 elements)\n",
-           dup_array, cupsArrayCount(dup_array));
+    printf("FAIL (returned %p with %d elements, expected pointer with 4 elements)\n", (void *)dup_array, cupsArrayCount(dup_array));
     status ++;
   }
 
@@ -488,7 +487,7 @@ main(void)
  * 'get_seconds()' - Get the current time in seconds...
  */
 
-#ifdef WIN32
+#ifdef _WIN32
 #  include <windows.h>
 
 
@@ -509,7 +508,7 @@ get_seconds(void)
   gettimeofday(&curtime, NULL);
   return (curtime.tv_sec + 0.000001 * curtime.tv_usec);
 }
-#endif /* WIN32 */
+#endif /* _WIN32 */
 
 
 /*