Commit 59795822d0e2db2217d95ca9b9765a704b2a499c

Ozkan Sezer 2020-11-11T12:33:55

make SDL_SensorGetDeviceNonPortableType match its prototype.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/sensor/SDL_sensor.c b/src/sensor/SDL_sensor.c
index b0c5238..3eca78e 100644
--- a/src/sensor/SDL_sensor.c
+++ b/src/sensor/SDL_sensor.c
@@ -177,7 +177,7 @@ SDL_SensorGetDeviceType(int device_index)
     return type;
 }
 
-SDL_SensorType
+int
 SDL_SensorGetDeviceNonPortableType(int device_index)
 {
     SDL_SensorDriver *driver;