summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-wapd/files/vdr-wapd-0.9_gcc-4.1.x.diff
blob: 1fe4e9245061437af7ddbaa3591b16165e724284 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur wapd-0.9.orig/wappasswd.c wapd-0.9/wappasswd.c
--- wapd-0.9.orig/wappasswd.c	2008-01-27 16:09:43.000000000 +0100
+++ wapd-0.9/wappasswd.c	2008-01-27 16:12:11.000000000 +0100
@@ -30,7 +30,7 @@
 {
   if (argc != 3) exit(EXIT_FAILURE);
 
-  char *sset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./";
+  const char *sset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./";
   char salt[3] = "AA";
 
   srand((int) time((time_t *) NULL));