summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-01-04 20:28:59 +0100
committerGravatar Nikias Bassen2017-01-04 20:28:59 +0100
commitb78a42e0531d219e27f5c57350886bc7c14d4684 (patch)
tree20f8d6300781aeacadf35596a6582d6aac93c3c4
parent038bb5902fcc4e981fb349fbba629eab2bdf93ff (diff)
downloadlibimobiledevice-b78a42e0531d219e27f5c57350886bc7c14d4684.tar.gz
libimobiledevice-b78a42e0531d219e27f5c57350886bc7c14d4684.tar.bz2
ideviceprovision: Silence compiler warning (missing parenthesis)
-rw-r--r--tools/ideviceprovision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ideviceprovision.c b/tools/ideviceprovision.c
index db00702..0bef7e8 100644
--- a/tools/ideviceprovision.c
+++ b/tools/ideviceprovision.c
@@ -156,7 +156,7 @@ static plist_t profile_get_embedded_plist(plist_t profile)
size_t slen = asn1_item_get_size(pp);
char bsize = *(pp+1);
if (bsize & 0x80) {
- slen += 2 + bsize & 0xF;
+ slen += 2 + (bsize & 0xF);
} else {
slen += 3;
}