Browse Source

starpu_atomic_*64: Fix returned type

Samuel Thibault 5 years ago
parent
commit
966b7c90b1
1 changed files with 1 additions and 1 deletions
  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) \