Commit 24592c28 authored by Philippe Gerum's avatar Philippe Gerum Committed by Jan Kiszka

cobalt/synch: uapi: silence pedantic warning (signed/unsigned)

Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <>
parent 063c1413
......@@ -71,7 +71,7 @@ int xnsynch_fast_acquire(atomic_t *fastlock, xnhandle_t new_ownerh)
static inline
int xnsynch_fast_release(atomic_t *fastlock, xnhandle_t cur_ownerh)
return atomic_cmpxchg(fastlock, cur_ownerh, XN_NO_HANDLE)
return (xnhandle_t)atomic_cmpxchg(fastlock, cur_ownerh, XN_NO_HANDLE)
== cur_ownerh;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment