summaryrefslogtreecommitdiff
path: root/src/OFZIPArchiveEntry.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/OFZIPArchiveEntry.m')
-rw-r--r--src/OFZIPArchiveEntry.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OFZIPArchiveEntry.m b/src/OFZIPArchiveEntry.m
index a7b6196b..1e7fdda7 100644
--- a/src/OFZIPArchiveEntry.m
+++ b/src/OFZIPArchiveEntry.m
@@ -239,7 +239,7 @@ of_zip_archive_entry_extra_field_find(OFData *extraField, uint16_t tag,
_versionSpecificAttributes = [stream readLittleEndianInt32];
_localFileHeaderOffset = [stream readLittleEndianInt32];
- encoding = (_generalPurposeBitFlag & (1 << 11)
+ encoding = (_generalPurposeBitFlag & (1u << 11)
? OF_STRING_ENCODING_UTF_8
: OF_STRING_ENCODING_CODEPAGE_437);