mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
Fixing type cast
This commit is contained in:
parent
3cb67f1719
commit
7c5bd1e180
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user