1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-14 14:24:10 +02:00

add missing fallthroughs

This commit is contained in:
hermansimensen 2023-08-06 20:33:52 +02:00
parent eeea06a22b
commit 09131c1df0

View file

@ -42,8 +42,8 @@ class WebAssembly
case typeof(double): case typeof(double):
s.Append('d'); s.Append('d');
case typeof(c_ulong): fallthrough; case typeof(c_ulong): fallthrough;
case typeof(c_ulonglong): case typeof(c_ulonglong): fallthrough;
case typeof(c_longlong): case typeof(c_longlong): fallthrough;
case typeof(c_long): case typeof(c_long):
s.Append('j'); s.Append('j');
default: default:
@ -63,7 +63,7 @@ class WebAssembly
int count = t.FieldCount; int count = t.FieldCount;
for(int i = 0; i < count; i++) for(int i = 0; i < count; i++)
{ {
var type = t.GetField(i).Get().FieldType; var type = t.GetField(i).Get().FieldType;
GetArgSigInternal(type, s); GetArgSigInternal(type, s);
} }
}else }else