diff --git a/ChangeLog.txt b/ChangeLog.txt index 9e9116947a..b0f33e4f22 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,14 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2014-10-08 02:00 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * contrib/hbnetio/netiosrv.c + * src/rtl/gtpca/gtpca.c + * pacified warnings + + * src/rtl/hbjson.c + ! include hbjson.h + 2014-10-07 22:52 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbjson.h * exported hb_jsonEncode() and hb_jsonDecode() functions diff --git a/contrib/hbnetio/netiosrv.c b/contrib/hbnetio/netiosrv.c index 8b8b7f95b3..1968540aa2 100644 --- a/contrib/hbnetio/netiosrv.c +++ b/contrib/hbnetio/netiosrv.c @@ -486,7 +486,7 @@ static void s_listenRet( HB_SOCKET sd, const char * szRootPath, HB_BOOL rpc ) { if( ! s_isDirSep( lsd->rootPath[ iLen - 1 ] ) ) { - if( iLen == sizeof( lsd->rootPath ) - 1 ) + if( iLen == ( int ) sizeof( lsd->rootPath ) - 1 ) --iLen; lsd->rootPath[ iLen ] = HB_OS_PATH_DELIM_CHR; } diff --git a/src/rtl/gtpca/gtpca.c b/src/rtl/gtpca/gtpca.c index 1e9dce8d95..7890526cea 100644 --- a/src/rtl/gtpca/gtpca.c +++ b/src/rtl/gtpca/gtpca.c @@ -279,7 +279,7 @@ static void hb_gt_pca_AnsiGetCurPos( int * iRow, int * iCol ) continue; } } - if( n == sizeof( rdbuf ) ) + if( n == ( int ) sizeof( rdbuf ) ) break; time = hb_dateMilliSeconds(); if( time > end_timer ) diff --git a/src/rtl/hbjson.c b/src/rtl/hbjson.c index 3fd940800b..6e2f82e9d9 100644 --- a/src/rtl/hbjson.c +++ b/src/rtl/hbjson.c @@ -50,6 +50,7 @@ #include "hbapiitm.h" #include "hbapistr.h" #include "hbset.h" +#include "hbjson.h" /* The application/json Media Type for JavaScript Object Notation (JSON)