Explorar o código

starpu_atomic_*64: Fix returned type

Samuel Thibault %!s(int64=5) %!d(string=hai) anos
pai
achega
966b7c90b1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) \