Changeset: e628a66799b1 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/e628a66799b1
Modified Files:
gdk/gdk_bbp.c
Branch: Sep2022
Log Message:
Be consistent: elsewhere the status is an unsigned also.
diffs (29 lines):
diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -646,7 +646,7 @@ BBPreadBBPline(FILE *fp, unsigned bbpver
{
char buf[4096];
uint64_t batid;
- uint16_t status;
+ unsigned int status;
unsigned int properties;
int nread, n;
char *s;
@@ -674,14 +674,14 @@ BBPreadBBPline(FILE *fp, unsigned bbpver
if (bbpversion <= GDKLIBRARY_HSIZE ?
sscanf(buf,
- "%" SCNu64 " %" SCNu16 " %128s %19s %u %" SCNu64
+ "%" SCNu64 " %u %128s %19s %u %" SCNu64
" %" SCNu64 " %" SCNu64
"%n",
&batid, &status, batname, filename,
&properties, &count, &capacity, &base,
&nread) < 8 :
sscanf(buf,
- "%" SCNu64 " %" SCNu16 " %128s %19s %u %" SCNu64
+ "%" SCNu64 " %u %128s %19s %u %" SCNu64
" %" SCNu64
"%n",
&batid, &status, batname, filename,
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]