diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-05-09 21:54:58 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-05-09 21:54:58 +0200 |
commit | 16a41a85516f6055918887938e9dd3f3f9fbcf28 (patch) | |
tree | e027aabed1c7a3c0d22b35044a0d8433c826ff25 /src/xine-engine/xine_interface.c | |
parent | 434cb7ca0ea80267700f84954f12733b0f34a968 (diff) | |
download | xine-lib-16a41a85516f6055918887938e9dd3f3f9fbcf28.tar.gz xine-lib-16a41a85516f6055918887938e9dd3f3f9fbcf28.tar.bz2 |
Use size_t to keep the value returned by strlen().
When using a variable to store the result of strlen(), make sure its
type is size_t just like the function returns, rather than using a
smaller type like int.
--HG--
extra : transplant_source : %B0%D5%3B%D7%1Dy%0A%7E%7D%7C%023%08%B2%CE%D3t%0B3%D7
Diffstat (limited to 'src/xine-engine/xine_interface.c')
-rw-r--r-- | src/xine-engine/xine_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/xine_interface.c b/src/xine-engine/xine_interface.c index 597608883..415ceec56 100644 --- a/src/xine-engine/xine_interface.c +++ b/src/xine-engine/xine_interface.c @@ -945,7 +945,7 @@ int _x_message(xine_stream_t *stream, int type, ...) { xine_ui_message_data_t *data; xine_event_t event; const char *explanation; - int size; + size_t size; int n; va_list ap; char *s, *params; |