Browse Source

get_random returns unsigned int64

bel 9 năm trước cách đây
mục cha
commit
59f9861374
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 */