equal
deleted
inserted
replaced
72 #if defined(ENABLE_NETWORK) |
72 #if defined(ENABLE_NETWORK) |
73 if (_debug_socket != INVALID_SOCKET) { |
73 if (_debug_socket != INVALID_SOCKET) { |
74 char buf2[lengthof(buf) + 32]; |
74 char buf2[lengthof(buf) + 32]; |
75 |
75 |
76 snprintf(buf2, lengthof(buf2), "dbg: [%s] %s\n", dbg, buf); |
76 snprintf(buf2, lengthof(buf2), "dbg: [%s] %s\n", dbg, buf); |
77 send(_debug_socket, buf2, strlen(buf2), 0); |
77 send(_debug_socket, buf2, (int)strlen(buf2), 0); |
78 } else |
78 } else |
79 #endif /* ENABLE_NETWORK */ |
79 #endif /* ENABLE_NETWORK */ |
80 { |
80 { |
81 #if defined(WINCE) |
81 #if defined(WINCE) |
82 /* We need to do OTTD2FS twice, but as it uses a static buffer, we need to store one temporary */ |
82 /* We need to do OTTD2FS twice, but as it uses a static buffer, we need to store one temporary */ |