2015-08-26 16:21 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/rtl/hbzsock.c
    * pacified warning
This commit is contained in:
Przemysław Czerpak
2015-08-26 16:21:20 +02:00
parent 41b8ecb6c7
commit a5b0ab6fc2
2 changed files with 5 additions and 1 deletions

View File

@@ -10,6 +10,10 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2015-08-26 16:21 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/hbzsock.c
* pacified warning
2015-08-26 15:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbsocket.h
* src/rtl/hbsockhb.c

View File

@@ -251,7 +251,7 @@ static long s_sockexWrite( PHB_SOCKEX pSock, const void * data, long len, HB_MAX
}
}
return lWritten >= 0 ? len - pZ->z_write.avail_in : lWritten;
return lWritten >= 0 ? ( long ) ( len - pZ->z_write.avail_in ) : lWritten;
}
else
return hb_sockexWrite( pSock, data, len, timeout );