소스 검색

make SDL_SensorGetDeviceNonPortableType match its prototype.

Ozkan Sezer 5 년 전
부모
커밋
59795822d0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;