diff --git a/src/detection/cpu/cpu_haiku.c b/src/detection/cpu/cpu_haiku.c index ec993a05..17dc1385 100644 --- a/src/detection/cpu/cpu_haiku.c +++ b/src/detection/cpu/cpu_haiku.c @@ -10,7 +10,7 @@ const char* ffDetectCPUImpl(FF_MAYBE_UNUSED const FFCPUOptions* options, FFCPURe if (get_system_info(&sysInfo) != B_OK) return "get_system_info() failed"; - uint32_t topoNodeCount = 0; + uint32 topoNodeCount = 0; get_cpu_topology_info(NULL, &topoNodeCount); if (topoNodeCount == 0) return "get_cpu_topology_info(NULL) failed"; diff --git a/src/detection/disk/disk_haiku.cpp b/src/detection/disk/disk_haiku.cpp index 07828474..504ec797 100644 --- a/src/detection/disk/disk_haiku.cpp +++ b/src/detection/disk/disk_haiku.cpp @@ -8,7 +8,7 @@ extern "C" const char* ffDetectDisksImpl(FF_MAYBE_UNUSED FFDiskOptions* options, FF_MAYBE_UNUSED FFlist* disks) { - int pos = 0; + int32 pos = 0; for (dev_t dev; (dev = next_dev(&pos)) >= B_OK;) { diff --git a/src/detection/sound/sound_haiku.cpp b/src/detection/sound/sound_haiku.cpp index 04dce76d..2d35830b 100644 --- a/src/detection/sound/sound_haiku.cpp +++ b/src/detection/sound/sound_haiku.cpp @@ -11,7 +11,7 @@ const char* ffDetectSound(FF_MAYBE_UNUSED FFlist* devices /* List of FFSoundDevi roster->GetAudioOutput(&mediaNode); - int32_t mediaOutputCount = 0; + int32 mediaOutputCount = 0; roster->GetAllOutputsFor(mediaNode, NULL, 0, &mediaOutputCount); if (mediaOutputCount == 0) return NULL;