Commit 55b908ef authored by Jean-Paul Saman's avatar Jean-Paul Saman

Use proper datatype.

parent 123afaae
......@@ -115,7 +115,7 @@ void var_buffer_addmemory( var_buffer_t *p_buf, void *p_mem, int i_mem )
p_buf->i_data += i_mem;
}
void var_buffer_addUTF16( var_buffer_t *p_buf, char *p_str )
void var_buffer_addUTF16( var_buffer_t *p_buf, const char *p_str )
{
unsigned int i;
if( !p_str )
......
......@@ -41,7 +41,7 @@ void var_buffer_add16( var_buffer_t *p_buf, uint16_t i_word );
void var_buffer_add32( var_buffer_t *p_buf, uint32_t i_word );
void var_buffer_add64( var_buffer_t *p_buf, uint64_t i_word );
void var_buffer_addmemory( var_buffer_t *p_buf, void *p_mem, int i_mem );
void var_buffer_addUTF16( var_buffer_t *p_buf, char *p_str );
void var_buffer_addUTF16( var_buffer_t *p_buf, const char *p_str );
void var_buffer_free( var_buffer_t *p_buf );
......
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