浏览代码

get_random returns unsigned int64

bel 9 年之前
父节点
当前提交
59f9861374
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -3350,7 +3350,7 @@ set_non_blocking_mode(SOCKET sock)
 
 
 /* Get a random number (independent of C rand function) */
-static int64_t
+static uint64_t
 get_random(void)
 {
 	static uint64_t lfsr = 0; /* Linear feedback shift register */