summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/image.c b/ext/standard/image.c
index ea11afebc3..4a2cf5dc92 100644
--- a/ext/standard/image.c
+++ b/ext/standard/image.c
@@ -110,7 +110,7 @@ static unsigned long int php_swf_get_bits (unsigned char* buffer, int pos, int c
static struct gfxinfo *php_handle_swf (FILE* fp)
{
struct gfxinfo *result = NULL;
- unsigned char bits;
+ long bits;
unsigned char a[32];
result = (struct gfxinfo *) ecalloc (1, sizeof (struct gfxinfo));