1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-19 05:52:27 +01:00

fix warning

This commit is contained in:
anyc
2014-05-26 11:46:38 +02:00
parent 7190e4c3f6
commit c07edd0d10

View File

@@ -309,7 +309,7 @@ static void window_options_mousedown()
// populate the list with the sound devices
for (i = 0; i < gAudioDeviceCount; i++) {
gDropdownItemsFormat[i] = 1142;
gDropdownItemsArgs[i] = 1170 | ((uint64)gAudioDevices[i].name << 16);
gDropdownItemsArgs[i] = 1170 | ((uint64)(intptr_t)gAudioDevices[i].name << 16);
}
gDropdownItemsChecked |= (1 << RCT2_GLOBAL(0x9AF280, uint32));
break;