1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-05 07:40:24 +00:00

Extra cast to satisfy compiler on OSX.

This commit is contained in:
Luke Ceddia 2016-02-10 00:22:53 +11:00
parent adf797014f
commit 10ce118bec

View file

@ -23266,7 +23266,7 @@ int32 func__printwidth(qbs* text, int32 screenhandle, int32 passed){
int n;
while(total < bytes) {
n = send(tcp->socket, (char*)(offset + total), bytesleft, 0);
n = send(tcp->socket, (char*)((char *)offset + total), bytesleft, 0);
if (n < 0) {
tcp->connected = 0;
return;