From 7c5bd1e180115f0e601529285cff6dbdac40d132 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Thu, 2 Oct 2003 18:49:18 +0000 Subject: [PATCH] Fixing type cast --- ext/fbsql/php_fbsql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/fbsql/php_fbsql.c b/ext/fbsql/php_fbsql.c index 75dddca485c..457853c7601 100644 --- a/ext/fbsql/php_fbsql.c +++ b/ext/fbsql/php_fbsql.c @@ -2278,7 +2278,7 @@ void phpfbColumnAsString(PHPFBResult* result, int column, void* data , int* leng #ifdef FB_TinyInteger case FB_TinyInteger: { - short int v = *((short int*)data); + short int v = *((FBTinyInteger*)data); char b[128]; sprintf(b, "%d", v); phpfbestrdup(b, length, value);