Skip to content

Commit 302716f

Browse files
committed
GPU: silence compiler warnings
1 parent 188b6ab commit 302716f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/gpu/gpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ bool ffParseGPUCommandOptions(FFGPUOptions* options, const char* key, const char
146146

147147
if (ffStrEqualsIgnCase(subKey, "detection-method"))
148148
{
149-
options->detectionMethod = ffOptionParseEnum(key, value, (FFKeyValuePair[]) {
149+
options->detectionMethod = (FFGPUDetectionMethod) ffOptionParseEnum(key, value, (FFKeyValuePair[]) {
150150
{ "auto", FF_GPU_DETECTION_METHOD_AUTO },
151151
{ "pci", FF_GPU_DETECTION_METHOD_PCI },
152152
{ "vulkan", FF_GPU_DETECTION_METHOD_VULKAN },

0 commit comments

Comments
 (0)