summaryrefslogtreecommitdiff
path: root/ext/fbsql
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fbsql')
-rw-r--r--ext/fbsql/php_fbsql.c2
1 files changed, 1 insertions, 1 deletions
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