소스 검색

Use specific types in SDL_touch.h

Missed when picking 7ff34249c753122a2ba67e78aa6e9f9b56aa4a65 from https://github.com/libsdl-org/SDL/pull/9191.
Susko3 1 년 전
부모
커밋
f8844d387c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      include/SDL3/SDL_touch.h

+ 2 - 2
include/SDL3/SDL_touch.h

@@ -58,10 +58,10 @@ typedef struct SDL_Finger
 } SDL_Finger;
 } SDL_Finger;
 
 
 /* Used as the device ID for mouse events simulated with touch input */
 /* Used as the device ID for mouse events simulated with touch input */
-#define SDL_TOUCH_MOUSEID ((Uint32)-1)
+#define SDL_TOUCH_MOUSEID ((SDL_MouseID)-1)
 
 
 /* Used as the SDL_TouchID for touch events simulated with mouse input */
 /* Used as the SDL_TouchID for touch events simulated with mouse input */
-#define SDL_MOUSE_TOUCHID ((Uint64)-1)
+#define SDL_MOUSE_TOUCHID ((SDL_TouchID)-1)
 
 
 
 
 /**
 /**