diff options
-rw-r--r-- | src/Log.cpp | 2 | ||||
-rw-r--r-- | src/server/Buffer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Log.cpp b/src/Log.cpp index cf18b58c..26112877 100644 --- a/src/Log.cpp +++ b/src/Log.cpp @@ -108,7 +108,7 @@ Log::vtprintf(LV2_URID type, const char* fmt, va_list args) ColorContext ctx(stderr, ColorContext::Color::GREEN); ret = vfprintf(stderr, fmt, args); } else { - fprintf(stderr, "Unknown log type %d\n", type); + fprintf(stderr, "Unknown log type %u\n", type); return 0; } if (_flush) { diff --git a/src/server/Buffer.cpp b/src/server/Buffer.cpp index fffc86b0..371c7cbf 100644 --- a/src/server/Buffer.cpp +++ b/src/server/Buffer.cpp @@ -435,7 +435,7 @@ Buffer::dump_cv(const RunContext& context) const for (uint32_t i = 0; i < context.nframes(); ++i) { if (samples()[i] != value) { value = samples()[i]; - fprintf(stderr, " %4d: %.02f\n", i, value); + fprintf(stderr, " %4u: %.02f\n", i, value); } } fprintf(stderr, "}\n"); |