소스 검색

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 */