Fixing type cast

This commit is contained in:
Frank M. Kromann 2003-10-02 18:49:18 +00:00
parent 3cb67f1719
commit 7c5bd1e180

View 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);