about summary refs log tree commit diff stats
path: root/src/LYOptions.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2018-12-26 01:28:15 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2018-12-26 01:28:15 +0000
commitfd8ff03480d588c28b9424f2976beadbe7a55a35 (patch)
treea18e136f210bdde269d9e60f13d733bd6d254593 /src/LYOptions.c
parent28f325f21ceede50416e3828e01072ae151551d6 (diff)
downloadlynx-snapshots-fd8ff03480d588c28b9424f2976beadbe7a55a35.tar.gz
snapshot of project "lynx", label v2-9-0dev_0a
Diffstat (limited to 'src/LYOptions.c')
-rw-r--r--src/LYOptions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYOptions.c b/src/LYOptions.c
index 6b4b0e0a..33bf66cf 100644
--- a/src/LYOptions.c
+++ b/src/LYOptions.c
@@ -1,4 +1,4 @@
-/* $LynxId: LYOptions.c,v 1.178 2018/03/19 23:06:50 tom Exp $ */
+/* $LynxId: LYOptions.c,v 1.179 2018/12/26 01:23:33 tom Exp $ */
 #include <HTUtils.h>
 #include <HTFTP.h>
 #include <HTTP.h>		/* 'reloading' flag */
@@ -3551,7 +3551,7 @@ static char *NewSecureValue(void)
     FREE(secure_value);
     if ((secure_value = typeMallocn(char, 80)) != 0) {
 #if defined(RAND_MAX)
-	long key = lynx_rand();
+	long key = (long) lynx_rand();
 
 #else
 	long key = (long) secure_value + (long) time(0);