From d9efe071254acd762f12598f16c4a76a71082288 Mon Sep 17 00:00:00 2001 From: Justin Viiret Date: Tue, 3 Nov 2015 16:24:06 +1100 Subject: [PATCH] depth: correct sign in printf format --- src/util/depth.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/depth.h b/src/util/depth.h index 29ff2819..977fd0c3 100644 --- a/src/util/depth.h +++ b/src/util/depth.h @@ -183,7 +183,7 @@ public: s64a rv = val + d; if (rv < 0 || (u64a)rv >= val_infinity) { - DEBUG_PRINTF("depth %llu too large to represent!\n", rv); + DEBUG_PRINTF("depth %lld too large to represent!\n", rv); throw DepthOverflowError(); }