Reduce inconsistencies
Alpine 3.24 Success
Alpine 3.24 Flatpak Success
Arch Linux AUR Success

This commit is contained in:
p
2026-09-13 19:09:09 +02:00
parent 193b1cbca0
commit fe04021456
40 changed files with 90 additions and 98 deletions
+2 -2
View File
@@ -64,7 +64,7 @@ function view_array_type(type) {
}
function array_encode(f, type, ser) {
ser = "\tencoder.u32(static_cast<uint32_t>(" f ".size()));\n"
ser = "\tencoder.u32(uint32_t(" f ".size()));\n"
if (type == "u8")
return ser "\tencoder.bytes(" f ");\n"
if (type == "i8")
@@ -217,7 +217,7 @@ function emit_enum(name, cg, fields) {
print "inline void encode(const " name \
" &value, dawn::ipc::Encoder &encoder)"
print "{"
print "\tencoder.i8(static_cast<int8_t>(value));"
print "\tencoder.i8(int8_t(value));"
print "}"
print ""