about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-01-03 19:08:26 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-01-03 19:08:26 +0100
commitae274fa5a9754526c63e91e654b3da2fe0c9468f (patch)
tree662b6973db5d8a07b4a1ee8b358ad3ff6a2490e7
parentbe6ae5b9b9f05c04de982f7ea6ee980a47714773 (diff)
downloadrdd-ae274fa5a9754526c63e91e654b3da2fe0c9468f.tar.gz
rdd-ae274fa5a9754526c63e91e654b3da2fe0c9468f.tar.xz
rdd-ae274fa5a9754526c63e91e654b3da2fe0c9468f.zip
use long
-rw-r--r--rdd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rdd.c b/rdd.c
index 4a12032..3513e37 100644
--- a/rdd.c
+++ b/rdd.c
@@ -16,7 +16,8 @@ main(int argc, char *argv[])
 	sosemanuk_key_context kc;
 	sosemanuk_run_context rc;
 
-	int fd, c, i, v = 0, r = 4;
+	int fd, c, v = 0;
+	long i, r = 4;
 	const char *src = "/dev/urandom";
 
 	while ((c = getopt(argc, argv, "i:r:v")) != -1)