Commit 462d2be6 authored by Laurent Aimar's avatar Laurent Aimar

Compilation warnings fixes.

parent ee0a0688
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#ifdef REALDEBUG #ifdef REALDEBUG
# define lprintf printf # define lprintf printf
#else #else
static inline void lprintf( char *dummy, ... ){} static inline void lprintf( const char *dummy, ... ){}
#endif #endif
int real_get_rdt_chunk_header(rtsp_client_t *, rmff_pheader_t *); int real_get_rdt_chunk_header(rtsp_client_t *, rmff_pheader_t *);
......
...@@ -86,7 +86,7 @@ typedef struct { ...@@ -86,7 +86,7 @@ typedef struct {
} asmrp_t; } asmrp_t;
static asmrp_t *asmrp_new () { static asmrp_t *asmrp_new (void ) {
asmrp_t *p; asmrp_t *p;
...@@ -351,7 +351,7 @@ static void asmrp_get_sym (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; int i;
...@@ -363,7 +363,7 @@ static int asmrp_find_id (asmrp_t *p, char *s) { ...@@ -363,7 +363,7 @@ static int asmrp_find_id (asmrp_t *p, char *s) {
return -1; 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; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment