Go back to old precedence of casting

This commit is contained in:
Krzosa Karol
2022-06-15 10:56:11 +02:00
parent cdeebfb8f9
commit 69362ba37a
2 changed files with 2 additions and 2 deletions

View File

@@ -435,7 +435,7 @@ binding_power(Binding binding, Token_Kind kind){
case TK_Dot: case TK_Dot:
return {31,30}; return {31,30};
case TK_Arrow: case TK_Arrow:
return {2,1}; return {36,35};
default: return {}; default: return {};
} }
Postfix: switch(kind){ Postfix: switch(kind){

View File

@@ -126,7 +126,7 @@ create_bitmap :: (size: Vec2I, bottom_up: Bool = true): Windows_Bitmap
} }
hdc := GetDC(0) hdc := GetDC(0)
result.dib = CreateDIBSection(hdc, &bminfo, DIB_RGB_COLORS, &result.data->**void, 0, 0) result.dib = CreateDIBSection(hdc, &bminfo, DIB_RGB_COLORS, (&result.data)->**void, 0, 0)
result.hdc = CreateCompatibleDC(hdc) result.hdc = CreateCompatibleDC(hdc)
return result return result