summaryrefslogtreecommitdiffstats
path: root/lib/qrand.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/qrand.h')
-rw-r--r--lib/qrand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/qrand.h b/lib/qrand.h
index e9a18436..cb81aceb 100644
--- a/lib/qrand.h
+++ b/lib/qrand.h
@@ -35,7 +35,7 @@
struct qrand_seq
{
- uint last ;
+ uint32_t last ;
} ;
typedef struct qrand_seq* qrand_seq ;
@@ -47,6 +47,6 @@ typedef struct qrand_seq qrand_seq_t[1] ;
* Functions
*/
-extern int qrand(qrand_seq seq, int range) ;
+extern uint qrand(qrand_seq seq, uint range) ;
#endif /* _ZEBRA_QRAND_H */