From: Frank M. Kromann Date: Tue, 19 Mar 2002 22:38:35 +0000 (+0000) Subject: Oops.. This should make I64 work on WIn32 as well X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~1210 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42ba9987ea9212c09616821a2ca44cfdf5f6f722;p=php Oops.. This should make I64 work on WIn32 as well --- diff --git a/ext/fbsql/php_fbsql.c b/ext/fbsql/php_fbsql.c index 3c8656353e..d9e15c5e8f 100644 --- a/ext/fbsql/php_fbsql.c +++ b/ext/fbsql/php_fbsql.c @@ -2275,7 +2275,7 @@ void phpfbColumnAsString (PHPFBResult* result, int column, void* data , int* len FBLongInteger v = *((FBLongInteger*)data); char b[128]; #ifdef PHP_WIN32 - sprintf(b, "%i64", v); + sprintf(b, "%I64i", v); #else sprintf(b, "%ll", v); #endif