summaryrefslogtreecommitdiff
path: root/pit/src/runtime/value/small.c
diff options
context:
space:
mode:
Diffstat (limited to 'pit/src/runtime/value/small.c')
-rw-r--r--pit/src/runtime/value/small.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pit/src/runtime/value/small.c b/pit/src/runtime/value/small.c
index e0bdf0a..7b9057e 100644
--- a/pit/src/runtime/value/small.c
+++ b/pit/src/runtime/value/small.c
@@ -23,7 +23,7 @@ pit_value pit_value_double_new(pit_runtime *rt, double d) {
i64 pit_value_as_integer(pit_runtime *rt, pit_value v) {
if (pit_value_sort(v) != PIT_VALUE_SORT_INTEGER) {
- pit_error(rt, "invalid use of value %v as integer", v);
+ pit_error(rt, "invalid use of value %V as integer", v);
return -1;
}
u64 lo = pit_value_data(v);