ovs-thread: Fix crash by making count_cpu_count() return type a signed int.
[sliver-openvswitch.git] / lib / ovs-thread.h
index 1f2de72..b6d973f 100644 (file)
@@ -505,6 +505,6 @@ bool may_fork(void);
 \f
 /* Useful functions related to threading. */
 
-unsigned int count_cpu_cores(void);
+int count_cpu_cores(void);
 
 #endif /* ovs-thread.h */