mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fixed a warning
This commit is contained in:
parent
1200b9e758
commit
fd5fe8b6ae
|
@ -1829,9 +1829,9 @@ int str_toint(const char *str) { return atoi(str); }
|
|||
float str_tofloat(const char *str) { return atof(str); }
|
||||
|
||||
|
||||
char *str_utf8_skip_whitespaces(char *str)
|
||||
const char *str_utf8_skip_whitespaces(const char *str)
|
||||
{
|
||||
char *str_old;
|
||||
const char *str_old;
|
||||
int code;
|
||||
|
||||
while(*str)
|
||||
|
|
|
@ -1213,7 +1213,7 @@ unsigned str_quickhash(const char *str);
|
|||
*/
|
||||
void gui_messagebox(const char *title, const char *message);
|
||||
|
||||
char *str_utf8_skip_whitespaces(char *str);
|
||||
const char *str_utf8_skip_whitespaces(const char *str);
|
||||
|
||||
/*
|
||||
Function: str_utf8_rewind
|
||||
|
|
Loading…
Reference in a new issue