Kaynağa Gözat

get_random returns unsigned int64

bel 9 yıl önce
ebeveyn
işleme
59f9861374
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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) */
 /* Get a random number (independent of C rand function) */
-static int64_t
+static uint64_t
 get_random(void)
 get_random(void)
 {
 {
 	static uint64_t lfsr = 0; /* Linear feedback shift register */
 	static uint64_t lfsr = 0; /* Linear feedback shift register */