summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/raw.c
diff options
context:
space:
mode:
authorMatthieu Darbois <mayeut@users.noreply.github.com>2016-04-30 01:12:16 +0200
committerMatthieu Darbois <mayeut@users.noreply.github.com>2016-04-30 01:12:16 +0200
commitbe42e72d220ffa89b33c8d24d0c0d4c8de8533cf (patch)
tree93849c3747c188adc4d9a4b81937720fc7a0eb80 /src/lib/openjp2/raw.c
parent15f081c89650dccee4aa4ae66f614c3fdb268767 (diff)
Fix warnings (#763)
Diffstat (limited to 'src/lib/openjp2/raw.c')
-rw-r--r--src/lib/openjp2/raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/raw.c b/src/lib/openjp2/raw.c
index 2498761c..d3581d1a 100644
--- a/src/lib/openjp2/raw.c
+++ b/src/lib/openjp2/raw.c
@@ -88,7 +88,7 @@ OPJ_UINT32 opj_raw_decode(opj_raw_t *raw) {
}
}
raw->ct--;
- d = (raw->c >> raw->ct) & 0x01;
+ d = ((OPJ_UINT32)raw->c >> raw->ct) & 0x01U;
return d;
}