From: havoc Date: Fri, 21 Oct 2005 05:15:15 +0000 (+0000) Subject: added struct name to imageformats to cure an error in g++ 4 X-Git-Tag: xonotic-v0.1.0preview~4538 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=db3df0570a81d7bc4303a936b9fc5312fc12e538;p=xonotic%2Fdarkplaces.git added struct name to imageformats to cure an error in g++ 4 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5745 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/image.c b/image.c index e58b98f2..83032091 100644 --- 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);