Go back to old precedence of casting
This commit is contained in:
@@ -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){
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user