[Telepathy-commits] [telepathy-gabble/master] Use guint8 not guchar for codec IDs.
Will Thompson
will.thompson at collabora.co.uk
Thu Mar 5 06:30:55 PST 2009
They're (probably?) the same on all platforms glib runs on, but the id
is conceptually an integer, not a character.
---
src/jingle-media-rtp.c | 2 +-
src/jingle-media-rtp.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/jingle-media-rtp.c b/src/jingle-media-rtp.c
index ec58d9c..8e05c3c 100644
--- a/src/jingle-media-rtp.c
+++ b/src/jingle-media-rtp.c
@@ -291,7 +291,7 @@ parse_payload_type (LmMessageNode *node)
{
JingleCodec *p;
const char *txt;
- guchar id;
+ guint8 id;
const gchar *name;
guint clockrate = 0;
guint channels = 1;
diff --git a/src/jingle-media-rtp.h b/src/jingle-media-rtp.h
index 3204596..1fe972c 100644
--- a/src/jingle-media-rtp.h
+++ b/src/jingle-media-rtp.h
@@ -61,7 +61,7 @@ struct _GabbleJingleMediaRtp {
};
typedef struct {
- guchar id;
+ guint8 id;
gchar *name;
guint clockrate;
guint channels;
--
1.5.6.5
More information about the telepathy-commits
mailing list