]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
added struct name to imageformats to cure an error in g++ 4
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 21 Oct 2005 05:15:15 +0000 (05:15 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 21 Oct 2005 05:15:15 +0000 (05:15 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5745 d7cf8633-e32d-0410-b094-e92efae38249

image.c

diff --git a/image.c b/image.c
index e58b98f27c87833ea95acde4ac5d082e916ae01c..830320917084be016f4499deafd1e1b86ea1466c 100644 (file)
--- a/image.c
+++ b/image.c
@@ -652,7 +652,7 @@ void Image_StripImageExtension (const char *in, char *out)
                strcpy(out, in);
 }
 
-struct
+struct imageformat_s
 {
        const char *formatstring;
        qbyte *(*loadfunc)(const qbyte *f, int matchwidth, int matchheight);