Changeset: e8a281ef666d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/e8a281ef666d
Modified Files:
        common/stream/bs2.c
Branch: Jul2021
Log Message:

Use correct printf format.


diffs (21 lines):

diff --git a/common/stream/bs2.c b/common/stream/bs2.c
--- a/common/stream/bs2.c
+++ b/common/stream/bs2.c
@@ -351,7 +351,7 @@ bs2_read(stream *restrict ss, void *rest
                        return -1;
                }
 #ifdef BSTREAM_DEBUG
-               fprintf(stderr, "R1 '%s' length: %lld, final: %s\n", ss->name, 
blksize >> 1, blksize & 1 ? "true" : "false");
+               fprintf(stderr, "R1 '%s' length: %" PRId64 ", final: %s\n", 
ss->name, blksize >> 1, blksize & 1 ? "true" : "false");
 #endif
                s->itotal = (size_t) (blksize >> 1);    /* amount readable */
                /* store whether this was the last block or not */
@@ -431,7 +431,7 @@ bs2_read(stream *restrict ss, void *rest
                                return -1;
                        }
 #ifdef BSTREAM_DEBUG
-                       fprintf(stderr, "R3 '%s' length: %lld, final: %s\n", 
ss->name, blksize >> 1, blksize & 1 ? "true" : "false");
+                       fprintf(stderr, "R3 '%s' length: %" PRId64 ", final: 
%s\n", ss->name, blksize >> 1, blksize & 1 ? "true" : "false");
 #endif
 
 
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to