From: Jérôme Benoit Date: Fri, 2 Mar 2018 12:39:47 +0000 (+0100) Subject: Fix signed issue. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=HEAD;p=TD_BDD.git Fix signed issue. Signed-off-by: Jérôme Benoit --- diff --git a/TD5/C/exemple_mysql_libmysqlclient.c b/TD5/C/exemple_mysql_libmysqlclient.c index 9dcc636..452ec32 100644 --- a/TD5/C/exemple_mysql_libmysqlclient.c +++ b/TD5/C/exemple_mysql_libmysqlclient.c @@ -57,8 +57,8 @@ int main(void) exit(1); } - int num_fields = mysql_num_fields(result); - int i; + unsigned int num_fields = mysql_num_fields(result); + unsigned int i; printf("\nTable Usine :\n"); printf("NU\tNomU\tVille\n");