]> sjero.net Git - wget/blobdiff - src/mswindows.c
[svn] Various small fixes, courtesy of Gisle Vanem <giva@bgnett.no>.
[wget] / src / mswindows.c
index 67400c836cbdcdb51f087dbf939f95bd882965c0..7b310678567449d8f615065258a5084c7081d188 100644 (file)
@@ -545,7 +545,8 @@ run_with_timeout (double seconds, void (*fun) (void *), void *arg)
                              &thread_arg, 0, &thread_id);
   if (!thread_hnd)
     {
-      DEBUGP (("CreateThread() failed; [0x%x]\n", GetLastError ()));
+      DEBUGP (("CreateThread() failed; [%#lx]\n",
+               (unsigned long) GetLastError ()));
       goto blocking_fallback;
     }