summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-18 12:56:54 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-18 12:58:45 -0800
commit0a8038dba48ffbde57292436fae54640a50347dc (patch)
treeb37b78680f8f24abeb479cf7bc29021d3d592593 /gtk-gui.c
parent62c4ec20c7c8395eb2d22011520b6fadc03a87a2 (diff)
downloadsubsurface-0a8038dba48ffbde57292436fae54640a50347dc.tar.gz
Consistently use uint32_t for deviceid
There were a handful of places that incorrectly used signed values for the deviceid. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r--gtk-gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index 349cc1af0..7a8f10c68 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -1950,7 +1950,7 @@ static char *cleanedup_nickname(const char *nickname, int len)
return clean;
}
-void replace_nickname_nicknamestring(const char *model, int deviceid, const char *nickname)
+void replace_nickname_nicknamestring(const char *model, uint32_t deviceid, const char *nickname)
{
char pattern[160];
char *entry, *brace, *new_nn;