]> granicus.if.org Git - php/commitdiff
Fixing type cast
authorFrank M. Kromann <fmk@php.net>
Thu, 2 Oct 2003 18:48:18 +0000 (18:48 +0000)
committerFrank M. Kromann <fmk@php.net>
Thu, 2 Oct 2003 18:48:18 +0000 (18:48 +0000)
ext/fbsql/php_fbsql.c

index 39519a9594f638165b8f67d4d1e25a1e908bf413..677531297375515951543634c1a1d3787930330f 100644 (file)
@@ -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);