소스 검색

starpu_atomic_*64: Fix returned type

Samuel Thibault 5 년 전
부모
커밋
966b7c90b1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/starpu_util.h

+ 1 - 1
include/starpu_util.h

@@ -445,7 +445,7 @@ static __starpu_inline unsigned long starpu_atomic_##name##l(unsigned long *ptr,
 	return expr; \
 }
 #define STARPU_ATOMIC_SOMETHING64(name,expr) \
-static __starpu_inline unsigned long starpu_atomic_##name##64(uint64_t *ptr, uint64_t value) \
+static __starpu_inline uint64_t starpu_atomic_##name##64(uint64_t *ptr, uint64_t value) \
 { \
 	uint64_t old, next; \
 	while (1) \