fixes bug #119105 compiler warnings

Original commit message from CVS:
fixes bug #119105
compiler warnings
This commit is contained in:
Thomas Vander Stichele 2003-08-26 20:20:11 +00:00
parent 60a1e8e546
commit e291dbda92
2 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,6 @@
#define CHAR(x) PRINT ("char: %c\n", *yytext); return *yytext;
#define YY_DECL int _gst_parse_yylex (YYSTYPE *lvalp)
#define YY_NO_UNPUT
%}
_integer [-+]?[[:digit:]]+
@ -53,6 +52,7 @@ _flink ({_identifier}\.)?{_identifier}!{_caps}!({_identifier}\.)?{_identifier}
%x value
%option noyywrap
%option nounput
%%
<value>{

View file

@ -114,11 +114,11 @@ static void do_cothread_switch(cothread *to)
#define do_cothread_create(new_cothread, context, func, argc, argv) \
G_STMT_START{ \
new_cothread = cothread_create ((func), 0, (void**) (argv), (context)); \
new_cothread = cothread_create ((func), 0, (char **) (argv), (context)); \
}G_STMT_END
#define do_cothread_setfunc(cothread, context, func, argc, argv) \
cothread_setfunc ((cothread), (func), (argc), (void **) (argv), (context))
cothread_setfunc ((cothread), (func), (argc), (char **) (argv), (context))
#define do_cothread_destroy(cothread) cothread_destroy(cothread)