Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Swaney <sswaney@centurytel.net>2007-09-03 23:12:36 +0400
committerStephen Swaney <sswaney@centurytel.net>2007-09-03 23:12:36 +0400
commit3326d493a0d9b2b22bfb5c5446fed232bab9d28f (patch)
treec7f8df717fa84304058efad23f488acdd0d93b20 /source/blender/imbuf/intern/jpeg.c
parent1b35c1c1ec6cd5a017fc5c69a1222592b16582f7 (diff)
more warning fixes.
sprinkle a few 'const char*'s around to remove warnings about discarding qualifiers in imbuf code.
Diffstat (limited to 'source/blender/imbuf/intern/jpeg.c')
-rw-r--r--source/blender/imbuf/intern/jpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/jpeg.c b/source/blender/imbuf/intern/jpeg.c
index cd90adda27a..1774aa7c156 100644
--- a/source/blender/imbuf/intern/jpeg.c
+++ b/source/blender/imbuf/intern/jpeg.c
@@ -345,7 +345,7 @@ static ImBuf * ibJpegImageFromCinfo(struct jpeg_decompress_struct * cinfo, int f
return(ibuf);
}
-ImBuf * imb_ibJpegImageFromFilename (char * filename, int flags)
+ImBuf * imb_ibJpegImageFromFilename (const char * filename, int flags)
{
struct jpeg_decompress_struct _cinfo, *cinfo = &_cinfo;
struct jpeg_error_mgr jerr;