modemmanger-next: backport a upstream patch.
This backports the upstream commit
4e00558fcbdcfc9232f1007e718b9e2afae6520a to fix the error.
BUG=chromium:548901
TEST=the error is gone.
Change-Id: I0b930ad02719ec6f431f7db724979c4264a51b34
Reviewed-on: https://chromium-review.googlesource.com/310656
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c
index feebbc6..1bdaaa7 100644
--- a/src/mm-broadband-modem.c
+++ b/src/mm-broadband-modem.c
@@ -3304,7 +3304,7 @@
guint i;
for (i = ctx->current; i < sizeof (MMModem3gppFacility) * 8; i++) {
- guint32 facility = 1 << i;
+ guint32 facility = 1u << i;
/* Found the next one to query! */
if (ctx->facilities & facility) {