vdr_streamdev: fix recordings urls.
[people/teissler/ipfire-2.x.git] / src / patches / vdr-streamdev_recordings-64.patch
1 diff -Naur vdr-streamdev-10db11ac.org/server/menuHTTP.c vdr-streamdev-10db11ac/server/menuHTTP.c
2 --- vdr-streamdev-10db11ac.org/server/menuHTTP.c 2013-02-18 12:43:02.000000000 +0100
3 +++ vdr-streamdev-10db11ac/server/menuHTTP.c 2013-04-29 13:34:11.818857417 +0200
4 @@ -28,7 +28,7 @@
5 {
6 struct stat st;
7 if (stat(current->FileName(), &st) == 0)
8 - return cString::sprintf("%lu:%lu.rec", st.st_dev, st.st_ino);
9 + return cString::sprintf("%lu:%lu.rec", (unsigned long) st.st_dev, (unsigned long) st.st_ino);
10 return "";
11 }
12