From: Magnus H. <leg...@us...> - 2008-10-23 22:09:14
|
Update of /cvsroot/emacs-jabber/tox In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv13393 Modified Files: tox-session.c Log Message: s/int/uchar/ Index: tox-session.c =================================================================== RCS file: /cvsroot/emacs-jabber/tox/tox-session.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- tox-session.c 16 Oct 2008 16:13:02 -0000 1.3 +++ tox-session.c 23 Oct 2008 22:08:50 -0000 1.4 @@ -403,7 +403,7 @@ codec_out->id = g_value_get_int(g_value_array_get_nth(codec_in, 0)); codec_out->encoding_name = g_value_dup_string(g_value_array_get_nth(codec_in, 1)); /* maybe check range of media_type... */ - codec_out->media_type = g_value_get_int(g_value_array_get_nth(codec_in, 2)); + codec_out->media_type = g_value_get_uchar(g_value_array_get_nth(codec_in, 2)); codec_out->clock_rate = g_value_get_uint(g_value_array_get_nth(codec_in, 3)); codec_out->channels = g_value_get_uint(g_value_array_get_nth(codec_in, 4)); |