about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-01-03 18:53:36 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-01-03 18:53:36 +0100
commit0f8e8fddc008058985e590e218984435e838a2c2 (patch)
tree96abd07e7b7d119636a6439d1a3c46894df67b80
parent08527a903562d5b0881e23ec286bdba56ecd1fa0 (diff)
downloadrdd-0f8e8fddc008058985e590e218984435e838a2c2.tar.gz
rdd-0f8e8fddc008058985e590e218984435e838a2c2.tar.xz
rdd-0f8e8fddc008058985e590e218984435e838a2c2.zip
fix warning
-rw-r--r--rdd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdd.c b/rdd.c
index d9281c1..e6eb523 100644
--- a/rdd.c
+++ b/rdd.c
@@ -17,7 +17,7 @@ main(int argc, char *argv[])
 	sosemanuk_run_context rc;
 
 	int fd, c, i, v = 0, r = 4;
-	char *src = "/dev/urandom";
+	const char *src = "/dev/urandom";
 
 	while ((c = getopt(argc, argv, "i:r:v")) != -1)
 		switch (c) {