some build warnings on mac
Closed this issue · 1 comments
seven1240 commented
from v2.0 branch:
/Users/seven/workspace/freeswitch/libks/tests/testwebsock2.c:297:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
/Users/seven/workspace/freeswitch/libks/tests/testwebsock2.c:330:39: warning: format specifies type 'int' but the argument has type 'ks_ssize_t' (aka 'long') [-Wformat]
printf("read bytes=%d oc=%d [%s]\n", bytes, oc, (char *)rdata);
~~ ^~~~~
%zd
/Users/seven/workspace/freeswitch/libks/tests/testwebsock2.c:334:40: warning: format specifies type 'int' but the argument has type 'ks_ssize_t' (aka 'long') [-Wformat]
printf("read bytes=%d oc=%d [%s]\n", bytes, oc, (char *)rdata);
~~ ^~~~~
%zd
3 warnings generated.
crienzo commented
Merged