Browse Source

make SDL_SensorGetDeviceNonPortableType match its prototype.

Ozkan Sezer 4 years ago
parent
commit
59795822d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sensor/SDL_sensor.c

+ 1 - 1
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;