Update of /cvsroot/libexif/exif/libjpeg
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv25229/libjpeg
Modified Files:
jpeg-marker.c
Log Message:
Fixed a compiler warning. Made sure some fixed buffers were NUL-terminated.
Made a static table const.
Index: jpeg-marker.c
===================================================================
RCS file: /cvsroot/libexif/exif/libjpeg/jpeg-marker.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -d -r1.3 -r1.4
--- jpeg-marker.c 15 Dec 2002 11:39:13 -0000 1.3
+++ jpeg-marker.c 23 Jan 2008 22:38:41 -0000 1.4
@@ -1,6 +1,6 @@
/* jpeg-marker.c
*
- * Copyright © 2001 Lutz Müller <lu...@us...>
+ * Copyright © 2001-2008 Lutz Müller <lu...@us...>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -22,7 +22,7 @@
#include <stdlib.h>
-static struct {
+static const struct {
JPEGMarker marker;
const char *name;
const char *description;
|