Changeset: 795dc5994a4d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/795dc5994a4d
Modified Files:
sql/backends/monet5/copy_misc.c
Branch: default
Log Message:
Use unsigned to shift.
diffs (12 lines):
diff --git a/sql/backends/monet5/copy_misc.c b/sql/backends/monet5/copy_misc.c
--- a/sql/backends/monet5/copy_misc.c
+++ b/sql/backends/monet5/copy_misc.c
@@ -253,7 +253,7 @@ copy_report_error(struct error_handling
uint32_t *r = (uint32_t*)(admin->rows->tvheap->base +
sizeof(ccand_t));
int w = (int)(rel_row%32);
/* unset rel_row bit */
- r[rel_row/32] &= ~(1<<w);
+ r[rel_row/32] &= ~(1U<<w);
}
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]