1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Add casts for types

This commit is contained in:
Michał Janiszewski
2015-10-22 23:51:05 +02:00
parent f8407176d1
commit 11fb15bba7

View File

@@ -1327,13 +1327,13 @@ static void window_editor_object_selection_paint(rct_window *w, rct_drawpixelinf
width = w->width - w->widgets[WIDX_LIST].right - 6;
// Skip object dat name
text = (char*)(highlightedEntry + 1);
datName = text;
text = (uint8*)(highlightedEntry + 1);
datName = (char*)text;
do {
text++;
} while (*(text - 1) != 0);
text += 4;
name = text;
name = (char*)text;
RCT2_GLOBAL(0x009BC677, uint8) = 14;