aboutsummaryrefslogtreecommitdiff
path: root/src/generate-id.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2012-03-14 19:28:13 +0100
committerSebastien Bacher <seb128@ubuntu.com>2012-03-14 19:28:13 +0100
commitcc14b532413d3119dd42f5d741aa32e9b87a0d48 (patch)
treed68ec666ae4fe43052d9d8ac57fb1fcf73e6960b /src/generate-id.c
parent80459a44a331b92190c1caee896eabce77d19a02 (diff)
parentde6e9e4cff040336fd949f99ed3cab829d3f2b10 (diff)
downloadayatana-indicator-application-cc14b532413d3119dd42f5d741aa32e9b87a0d48.tar.gz
ayatana-indicator-application-cc14b532413d3119dd42f5d741aa32e9b87a0d48.tar.bz2
ayatana-indicator-application-cc14b532413d3119dd42f5d741aa32e9b87a0d48.zip
* New upstream release:
- Coverity INTEGER_OVERFLOW - CID 10716 (lp: #944234) - small memory leak caused by inline use of dbus_g_method_get_sender() (lp: #953585)
Diffstat (limited to 'src/generate-id.c')
-rw-r--r--src/generate-id.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/generate-id.c b/src/generate-id.c
index 14d762e..9515860 100644
--- a/src/generate-id.c
+++ b/src/generate-id.c
@@ -26,10 +26,10 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
guint32
generate_id (const AppIndicatorCategory catenum, const gchar * id)
{
- guchar category = 0;
- guchar first = 0;
- guchar second = 0;
- guchar third = 0;
+ guint32 category = 0;
+ guint32 first = 0;
+ guint32 second = 0;
+ guint32 third = 0;
switch (catenum) {
case APP_INDICATOR_CATEGORY_OTHER: