#1247 Another correction to r4655 concerning clang/apple.

This commit is contained in:
Robin Mills 2016-10-31 18:42:32 +00:00
parent 9853ca55bd
commit dd0a22814c

View File

@ -598,7 +598,7 @@ namespace Exiv2
} // Jp2Image::writeMetadata
#ifdef __APPLE__
#ifdef __clang__
// ignore cast align errors. dataBuf.pData_ is allocated by malloc() and 4 (or 8 byte aligned).
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wcast-align"