Skip to content
Snippets Groups Projects
Commit 93e81ee8 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

nutdec: const correctness for get_v_trace/get_s_trace function arguments

parent 2dc13104
No related branches found
No related tags found
No related merge requests found
...@@ -76,8 +76,8 @@ static uint64_t get_fourcc(AVIOContext *bc) ...@@ -76,8 +76,8 @@ static uint64_t get_fourcc(AVIOContext *bc)
} }
#ifdef TRACE #ifdef TRACE
static inline uint64_t get_v_trace(AVIOContext *bc, char *file, static inline uint64_t get_v_trace(AVIOContext *bc, const char *file,
char *func, int line) const char *func, int line)
{ {
uint64_t v = ffio_read_varlen(bc); uint64_t v = ffio_read_varlen(bc);
...@@ -86,8 +86,8 @@ static inline uint64_t get_v_trace(AVIOContext *bc, char *file, ...@@ -86,8 +86,8 @@ static inline uint64_t get_v_trace(AVIOContext *bc, char *file,
return v; return v;
} }
static inline int64_t get_s_trace(AVIOContext *bc, char *file, static inline int64_t get_s_trace(AVIOContext *bc, const char *file,
char *func, int line) const char *func, int line)
{ {
int64_t v = get_s(bc); int64_t v = get_s(bc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment