diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-05-27 10:54:33 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-05-27 10:54:33 +0000 |
| commit | fab828695cc03e9e10b533d150fe24346cc63b97 (patch) | |
| tree | b28907907b5634bf336c673db19057d3f53f3363 /src/game/client/menu.cpp | |
| parent | ccc90e5d23acd8ffb1370ef53dda063d175e7d3d (diff) | |
| download | zcatch-fab828695cc03e9e10b533d150fe24346cc63b97.tar.gz zcatch-fab828695cc03e9e10b533d150fe24346cc63b97.zip | |
removed alot of warnings
Diffstat (limited to 'src/game/client/menu.cpp')
| -rw-r--r-- | src/game/client/menu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/menu.cpp b/src/game/client/menu.cpp index 5d0cc473..a2393f5d 100644 --- a/src/game/client/menu.cpp +++ b/src/game/client/menu.cpp @@ -157,7 +157,7 @@ int ui_do_edit_box(void *id, float x, float y, float w, float h, char *str, int if (ui_active_item() == id) { - char c = keys::last_char(); + int c = keys::last_char(); int k = keys::last_key(); int len = strlen(str); @@ -343,7 +343,7 @@ void refresh_list(server_list *list) read_int(data, &signature); // check signature - if (signature == 'TWSL') + if(signature == 'TWSL') { read_int(data + 4, &master_server_version); read_int(data + 8, &server_count); |