diff options
Diffstat (limited to 'src/plugins/imageformats/macjp2/qmacjp2handler.cpp')
| -rw-r--r-- | src/plugins/imageformats/macjp2/qmacjp2handler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/imageformats/macjp2/qmacjp2handler.cpp b/src/plugins/imageformats/macjp2/qmacjp2handler.cpp index 8b06250..2642099 100644 --- a/src/plugins/imageformats/macjp2/qmacjp2handler.cpp +++ b/src/plugins/imageformats/macjp2/qmacjp2handler.cpp @@ -37,7 +37,7 @@ bool QMacJp2Handler::canRead(QIODevice *iod) bool bCanRead = false; char buf[12]; if (iod && iod->peek(buf, 12) == 12) - bCanRead = !qstrncmp(buf, "\000\000\000\fjP \r\n\207\n", 12); + bCanRead = !memcmp(buf, "\000\000\000\fjP \r\n\207\n", 12); return bCanRead; } |
