From 8fe50aeb6d9740eb266d30f52305000a6b86af50 Mon Sep 17 00:00:00 2001 From: heck Date: Wed, 29 Jul 2020 16:08:06 +0200 Subject: [PATCH] unsigned int is typedef'd as uint in "most" compilers, but not all --- src/gen_cpp_Engine.ysl2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen_cpp_Engine.ysl2 b/src/gen_cpp_Engine.ysl2 index 5d9411d..3e52f11 100644 --- a/src/gen_cpp_Engine.ysl2 +++ b/src/gen_cpp_Engine.ysl2 @@ -282,7 +282,7 @@ tstylesheet { when "$type='int'" | int _«$name» = (int) «$name»; when "$type='uint'" - | auto _«$name» = (uint) «$name»; + | auto _«$name» = (unsigned int) «$name»; when "$type='string'" | const char *_«$name» = to_string(env, «$name»); otherwise {