From 4194bde0090884a58e972d1224ea9e69b3be6f4c Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 21 Jun 2008 23:01:00 +0000 Subject: [PATCH] 2008-06-22 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbmysql/mysql.c ! Fixed GCC warning. --- harbour/ChangeLog | 4 ++++ harbour/contrib/hbmysql/mysql.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index ab96804b84..381e9a6a4c 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2008-12-31 13:59 UTC+0100 Foo Bar */ +2008-06-22 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * contrib/hbmysql/mysql.c + ! Fixed GCC warning. + 2008-06-21 23:27 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * source/rtl/gtwvt/gtwvt.c - Removed HB_NOSTARTUPWINDOW link time GTWVT window diff --git a/harbour/contrib/hbmysql/mysql.c b/harbour/contrib/hbmysql/mysql.c index 1f259e2bb9..2f2b6f624c 100644 --- a/harbour/contrib/hbmysql/mysql.c +++ b/harbour/contrib/hbmysql/mysql.c @@ -310,7 +310,7 @@ static char * filetoBuff( char * fname, int * size ) hb_fsClose( handle ); } else - *size = NULL; + *size = 0; return buffer; }