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

index 75dddca485c0acbc71f01c0f7e076c233713a179..457853c7601deac6e1f55c9e0553068c0705882a 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);