소스 검색

Fixed TICK_CACHE support (#8783)

Fixed a type mismatch since the introduction of t_tick
Lemongrass3110 6 달 전
부모
커밋
c346ab52bc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/common/timer.cpp

+ 1 - 1
src/common/timer.cpp

@@ -166,7 +166,7 @@ static t_tick tick(void)
 static t_tick gettick_cache;
 static int gettick_count = 1;
 
-unsigned int gettick_nocache(void)
+t_tick gettick_nocache(void)
 {
 	gettick_count = TICK_CACHE;
 	gettick_cache = tick();