mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
62c4ec20c7
commit
0a8038dba4
2 changed files with 7 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue