[Swfdec] test/trace
Pekka Lampila
medar at kemper.freedesktop.org
Thu Nov 8 06:33:14 PST 2007
test/trace/swfdec_interaction.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 410063957daad8e05daf9eda39c9bdfb134b04c4
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Thu Nov 8 16:30:47 2007 +0200
Fix a warning when compiling trace.c (added by -Wswitch-* flags)
diff --git a/test/trace/swfdec_interaction.c b/test/trace/swfdec_interaction.c
index e9e97bd..dd70ddd 100644
--- a/test/trace/swfdec_interaction.c
+++ b/test/trace/swfdec_interaction.c
@@ -128,7 +128,7 @@ swfdec_interaction_new (const char *data, guint length, GError **error)
inter->commands = g_array_new (FALSE, FALSE, sizeof (SwfdecCommand));
while ((token = g_scanner_get_next_token (scanner)) != G_TOKEN_EOF) {
- switch (token) {
+ switch ((SwfdecCommandType)token) {
case SWFDEC_COMMAND_WAIT:
token = g_scanner_get_next_token (scanner);
if (token != G_TOKEN_INT) {
More information about the Swfdec
mailing list