Fix Haiku compile error.

This commit is contained in:
casey langen 2023-01-01 19:04:49 -08:00
parent d17e0c85cb
commit 43ee957520

View File

@ -137,7 +137,7 @@ namespace musik { namespace core {
delete[] argv; delete[] argv;
#elif defined __HAIKU__ #elif defined __HAIKU__
image_info ii; image_info ii;
int32_t c = 0; int32 c = 0;
while (get_next_image_info(0, &c, &ii) == B_OK) { while (get_next_image_info(0, &c, &ii) == B_OK) {
if (ii.type == B_APP_IMAGE) { if (ii.type == B_APP_IMAGE) {
if (strlen(ii.name)) { if (strlen(ii.name)) {