summaryrefslogtreecommitdiff
path: root/src/generate-id.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-01-30 11:06:26 +0000
committerTarmac <Unknown>2013-01-30 11:06:26 +0000
commitbd333ad26f451f27f0d412f8a42f42459377bd7c (patch)
tree88817c7c7f21fc3c63395767e9c42acd588eefef /src/generate-id.c
parentee33a9adfc9c657c3be11a8bcaf25e687fdde026 (diff)
parent3e9b3f1cd28e9c9e1263796297f5d648a163be9e (diff)
downloadlibayatana-appindicator-bd333ad26f451f27f0d412f8a42f42459377bd7c.tar.gz
libayatana-appindicator-bd333ad26f451f27f0d412f8a42f42459377bd7c.tar.bz2
libayatana-appindicator-bd333ad26f451f27f0d412f8a42f42459377bd7c.zip
This is a continuation of ~mathieu-tl/libappindicator/fix-test-merge/ which adds fixes for bug #1102589, bug #1102595, bug #1109128, and bug #1103087, which should get it finally passing CI. Fixes: https://bugs.launchpad.net/bugs/1102589, https://bugs.launchpad.net/bugs/1102595, https://bugs.launchpad.net/bugs/1103087, https://bugs.launchpad.net/bugs/1109128.
Approved by Ted Gould, PS Jenkins bot.
Diffstat (limited to 'src/generate-id.c')
-rw-r--r--src/generate-id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generate-id.c b/src/generate-id.c
index 6389678..6208997 100644
--- a/src/generate-id.c
+++ b/src/generate-id.c
@@ -65,5 +65,5 @@ _generate_id (const AppIndicatorCategory catenum, const gchar * id)
}
}
- return (((((category * 256) + first) * 256) + second) * 256) + third;
+ return (((((category << 8) + first) << 8) + second) << 8) + third;
}