Changeset: 7346ecf75fbd for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/7346ecf75fbd
Modified Files:
common/stream/bs.c
Branch: Dec2025
Log Message:
Fix a cast.
diffs (12 lines):
diff --git a/common/stream/bs.c b/common/stream/bs.c
--- a/common/stream/bs.c
+++ b/common/stream/bs.c
@@ -61,7 +61,7 @@ bs_write(stream *restrict ss, const void
if (todo < n)
n = todo;
memcpy(s->buf + s->nr, buf, n);
- s->nr += (unsigned) n;
+ s->nr += (uint16_t) n;
todo -= n;
buf = ((const char *) buf + n);
if (s->nr == sizeof(s->buf)) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]