[libgda: 1/5] uint to unsigned int
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda: 1/5] uint to unsigned int
- Date: Tue, 29 Oct 2019 23:32:32 +0000 (UTC)
commit 69f4a023fda1cd9e2c42f00ca19db14e4cb7d0d3
Author: Shem Pasamba <shemgp yahoo com>
Date: Sun Oct 27 20:55:10 2019 +0800
uint to unsigned int
libgda/sql-parser/lemon.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgda/sql-parser/lemon.c b/libgda/sql-parser/lemon.c
index a81f1d87a..cf0f3b3eb 100644
--- a/libgda/sql-parser/lemon.c
+++ b/libgda/sql-parser/lemon.c
@@ -2553,7 +2553,7 @@ void Parse(struct lemon *gp)
gp->errorcnt++;
return;
}
- if( fread(filebuf,1,filesize,fp)!= (uint) filesize ){
+ if( fread(filebuf,1,filesize,fp)!= (unsigned int) filesize ){
ErrorMsg(ps.filename,0,"Can't read in all %d bytes of this file.",
filesize);
free(filebuf);
@@ -3346,7 +3346,7 @@ PRIVATE char *append_str(const char *zText, int n, int p1, int p2){
}
n = lemonStrlen(zText);
}
- if( n+sizeof(zInt)*2+used >= (uint) alloced ){
+ if( n+sizeof(zInt)*2+used >= (unsigned int) alloced ){
alloced = n + sizeof(zInt)*2 + used + 200;
z = (char *) realloc(z, alloced);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]