cvs: gd(GD_2_0) /libgd/tests/jpeg jpeg_empty_file.c
[email protected] ("Pierre-Alain Joye")
| Newsgroups | php.gd.cvs |
|---|---|
| Message-ID | <cvspajoye1176237321@cvsserver> |
pajoye Tue Apr 10 20:35:21 2007 UTC
Modified files: (Branch: GD_2_0)
/gd/libgd/tests/jpeg jpeg_empty_file.c
Log:
- don't use cont
http://cvs.php.net/viewvc.cgi/gd/libgd/tests/jpeg/jpeg_empty_file.c?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: gd/libgd/tests/jpeg/jpeg_empty_file.c
diff -u gd/libgd/tests/jpeg/jpeg_empty_file.c:1.1.2.2 gd/libgd/tests/jpeg/jpeg_empty_file.c:1.1.2.3
--- gd/libgd/tests/jpeg/jpeg_empty_file.c:1.1.2.2 Tue Apr 10 20:32:37 2007
+++ gd/libgd/tests/jpeg/jpeg_empty_file.c Tue Apr 10 20:35:21 2007
@@ -1,4 +1,4 @@
-/* $Id: jpeg_empty_file.c,v 1.1.2.2 2007/04/10 20:32:37 pajoye Exp $ */
+/* $Id: jpeg_empty_file.c,v 1.1.2.3 2007/04/10 20:35:21 pajoye Exp $ */
#include "gd.h"
#include <stdio.h>
#include <stdlib.h>
@@ -8,7 +8,7 @@
{
gdImagePtr im;
FILE *fp;
- const char path[1024];
+ char path[1024];
sprintf(path, "%s/jpeg/empty.jpeg", GDTEST_TOP_DIR);
fp = fopen(path, "rb");