Coerce uint to int

This commit is contained in:
Adam Watkins 2022-05-01 17:08:21 +01:00
parent d52e870fc7
commit 8aec0ce6a5

View file

@ -111,7 +111,7 @@ void Writer::val(const Val& v) {
val(Null());
return;
case Val::UINT:
val(v.ui);
val((int)v.ui);
return;
case Val::INT:
val(v.i);