diff options
author | glx <glx@openttd.org> | 2008-05-08 13:20:54 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2008-05-08 13:20:54 +0000 |
commit | e48a351f8e006b19d9e2c7bf9ef672a1e141d85f (patch) | |
tree | 8d4f7ac36d25e220f571af8ff584b7fa76c13cc1 /src/network/network_gui.cpp | |
parent | f7b6a02b1e9850c4cdb281148a1cee78c2a3f2a8 (diff) | |
download | openttd-e48a351f8e006b19d9e2c7bf9ef672a1e141d85f.tar.xz |
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
Diffstat (limited to 'src/network/network_gui.cpp')
-rw-r--r-- | src/network/network_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 569db534b..8dd90d37d 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -1778,7 +1778,7 @@ static void ChatTabCompletion(Window *w) { static char _chat_tab_completion_buf[lengthof(_edit_str_net_buf)]; Textbuf *tb = &WP(w, chatquerystr_d).text; - uint len, tb_len; + size_t len, tb_len; uint item; char *tb_buf, *pre_buf; const char *cur_name; @@ -1799,8 +1799,8 @@ static void ChatTabCompletion(Window *w) /* We are pressing TAB again on the same name, is there an other name * that starts with this? */ if (!second_scan) { - uint offset; - uint length; + size_t offset; + size_t length; /* If we are completing at the begin of the line, skip the ': ' we added */ if (tb_buf == pre_buf) { |