Commit 31028705 authored by deuce's avatar deuce
Browse files

Fix warnings.

parent 8e402cbc
......@@ -2421,7 +2421,7 @@ js_html_decode(JSContext *cx, uintN argc, jsval *arglist)
}
if(strcmp(token,"bull")==0) { /* bullet */
outbuf[j++] = 249;
outbuf[j++] = (char)249;
continue;
}
......
......@@ -4723,7 +4723,7 @@ void DLLCALL bbs_thread(void* arg)
char* p;
char str[MAX_PATH+1];
char logstr[256];
union xp_sockaddr server_addr={0};
union xp_sockaddr server_addr={{0}};
union xp_sockaddr client_addr;
socklen_t client_addr_len;
SOCKET client_socket=INVALID_SOCKET;
......
......@@ -866,14 +866,14 @@ int main(int argc, char** argv) {
uifc.esc_delay=500;
boxch.ls=186;
boxch.rs=186;
boxch.ts=205;
boxch.bs=205;
boxch.tl=201;
boxch.tr=187;
boxch.bl=200;
boxch.br=188;
boxch.ls=(char)186;
boxch.rs=(char)186;
boxch.ts=(char)205;
boxch.bs=(char)205;
boxch.tl=(char)201;
boxch.tr=(char)187;
boxch.bl=(char)200;
boxch.br=(char)188;
for(i=1;i<argc;i++) {
if(argv[i][0]=='-'
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment