From: Frank M. Kromann Date: Thu, 2 Oct 2003 18:48:18 +0000 (+0000) Subject: Fixing type cast X-Git-Tag: php-4.3.4RC2~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d0d0172f3865703cb94653c8ceb0577993cad29;p=php Fixing type cast --- diff --git a/ext/fbsql/php_fbsql.c b/ext/fbsql/php_fbsql.c index 39519a9594..6775312973 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);