summaryrefslogtreecommitdiff
path: root/portato/ipc.pyx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/ipc.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/ipc.pyx b/portato/ipc.pyx
index e9340cf..1f8603d 100644
--- a/portato/ipc.pyx
+++ b/portato/ipc.pyx
@@ -169,5 +169,5 @@ cdef class MessageQueue (object):
return retTuple
- cdef key_t random_key (self):
+ cdef inline key_t random_key (self):
return <int>(<double>rand() / (<double>RAND_MAX + 1) * INT_MAX)