X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fjpeg%2Fjpegloader.cpp;fp=source%2Fgraphics%2Fjpeg%2Fjpegloader.cpp;h=b5801568712ed47f78f1ede3230ce351b1ea0c17;hb=eacf9fc4ab7a95d08414c0d94a46925dd1a987bd;hp=39866c18aaabaee7351f6fb2f419e8e3d4ab47ed;hpb=6ee9e86d4986ba6d62bea7161486972ca2e713ef;p=libs%2Fgui.git diff --git a/source/graphics/jpeg/jpegloader.cpp b/source/graphics/jpeg/jpegloader.cpp index 39866c1..b580156 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()