On mingw, the native printf does not support directives like "%lld". This works around it.
2007-05-18 Bruno Haible <[EMAIL PROTECTED]> * lib/vasnprintf.m4 (VASNPRINTF) [WIN32]: Use %I64d instead of %lld for printing 64-bit integers. Needed for mingw. *** lib/vasnprintf.c 6 May 2007 23:02:10 -0000 1.42 --- lib/vasnprintf.c 18 May 2007 17:31:05 -0000 *************** *** 1088,1095 **** --- 1088,1102 ---- #if HAVE_LONG_LONG_INT case TYPE_LONGLONGINT: case TYPE_ULONGLONGINT: + # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + *fbp++ = 'I'; + *fbp++ = '6'; + *fbp++ = '4'; + break; + # else *fbp++ = 'l'; /*FALLTHROUGH*/ + # endif #endif case TYPE_LONGINT: case TYPE_ULONGINT: