summaryrefslogtreecommitdiff
path: root/ext/gd/libgd/gd_jpeg.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-08-11 13:50:27 +0000
committerMarcus Boerger <helly@php.net>2002-08-11 13:50:27 +0000
commit1723861618ea13d19def6508bec867c40c1adf1e (patch)
tree855811e2f5e0185b92f7de9091e880caea4f3c35 /ext/gd/libgd/gd_jpeg.c
parent94be838dc1db1e0c0fd65dba48abd37efbf24317 (diff)
downloadphp-git-1723861618ea13d19def6508bec867c40c1adf1e.tar.gz
try to fix those warnings.....
#this code must come from hell: will we change code to our coding-scheme?
Diffstat (limited to 'ext/gd/libgd/gd_jpeg.c')
-rw-r--r--ext/gd/libgd/gd_jpeg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/gd/libgd/gd_jpeg.c b/ext/gd/libgd/gd_jpeg.c
index 8d3614c343..54da0779d2 100644
--- a/ext/gd/libgd/gd_jpeg.c
+++ b/ext/gd/libgd/gd_jpeg.c
@@ -249,7 +249,7 @@ gdImageJpegCtx (gdImagePtr im, gdIOCtx * outfile, int quality)
}
}
jpeg_finish_compress (&cinfo);
-error:
+/*error:*/
jpeg_destroy_compress (&cinfo);
gdFree (row);
}
@@ -282,8 +282,9 @@ gdImageCreateFromJpegCtx (gdIOCtx * infile)
volatile JSAMPROW row = 0;
volatile gdImagePtr im = 0;
JSAMPROW rowptr[1];
- int i, j, retval;
+ JDIMENSION i, j;
JDIMENSION nrows;
+ int retval;
#ifdef JPEG_DEBUG
printf ("gd-jpeg: gd JPEG version %s\n", GD_JPEG_VERSION);