X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fjpeg%2Fjpegloader.cpp;h=bc0f2df60ef50c6967dcde7e56f43d8f4fafce61;hb=2effe9b416302914a8b8d88c815e20bd874d8100;hp=39866c18aaabaee7351f6fb2f419e8e3d4ab47ed;hpb=2ce0c7fc1c33de76b816144df2978518ec6738f6;p=libs%2Fgui.git diff --git a/source/graphics/jpeg/jpegloader.cpp b/source/graphics/jpeg/jpegloader.cpp index 39866c1..bc0f2df 100644 --- a/source/graphics/jpeg/jpegloader.cpp +++ b/source/graphics/jpeg/jpegloader.cpp @@ -113,10 +113,10 @@ JpegLoader::~JpegLoader() bool JpegLoader::detect(const string &sig) { - static const char jpeg_sig[] = "\xFF\xD8\xFF"; + static const char jpeg_sig[] = { '\xFF', '\xD8', '\xFF' }; if(sig.size()