]> git.sesse.net Git - vlc/commitdiff
Compilation warnings fixes.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 27 May 2007 16:30:22 +0000 (16:30 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 27 May 2007 16:30:22 +0000 (16:30 +0000)
modules/access/rtsp/real.h
modules/access/rtsp/real_asmrp.c

index e72125dc22afe5ca0680e2666e89eec1c8bc3e98..e2bd2ee28bb47c9a19efb255d06edfba2bf0aaab 100644 (file)
@@ -37,7 +37,7 @@
 #ifdef REALDEBUG
 #   define lprintf printf
 #else
-    static inline void lprintf( char *dummy, ... ){}
+    static inline void lprintf( const char *dummy, ... ){}
 #endif
 
 int real_get_rdt_chunk_header(rtsp_client_t *, rmff_pheader_t *);
index fbd2d8826aaeae4cc04ebf03d3952befa1ecd86c..0d7216d8be1c05f2890b37774072fd1b429109fa 100644 (file)
@@ -86,7 +86,7 @@ typedef struct {
 
 } asmrp_t;
 
-static asmrp_t *asmrp_new () {
+static asmrp_t *asmrp_new (void ) {
 
   asmrp_t *p;
 
@@ -351,7 +351,7 @@ static void asmrp_get_sym (asmrp_t *p) {
 
 }
 
-static int asmrp_find_id (asmrp_t *p, char *s) {
+static int asmrp_find_id (asmrp_t *p, const char *s) {
 
   int i;
 
@@ -363,7 +363,7 @@ static int asmrp_find_id (asmrp_t *p, char *s) {
   return -1;
 }
 
-static int asmrp_set_id (asmrp_t *p, char *s, int v) {
+static int asmrp_set_id (asmrp_t *p, const char *s, int v) {
 
   int i;