From: Will Estes Date: Thu, 9 Jan 2003 15:25:05 +0000 (+0000) Subject: type cast to pacify c++ compilers; patch from Bruce Lilly X-Git-Tag: flex-2-5-26~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9375819f3fc635b58b97090a9df63b501bb9ffe;p=flex type cast to pacify c++ compilers; patch from Bruce Lilly --- diff --git a/flex.skl b/flex.skl index 0f9c807..a4157f6 100644 --- a/flex.skl +++ b/flex.skl @@ -909,7 +909,7 @@ YY_DECL #ifdef YY_USES_REJECT if ( ! YY_G(yy_state_buf) ) - YY_G(yy_state_buf) = yyalloc(YY_BUF_SIZE + 2 YY_CALL_LAST_ARG); + YY_G(yy_state_buf) = (yy_state_type *)yyalloc(YY_BUF_SIZE + 2 YY_CALL_LAST_ARG); #endif if ( ! YY_G(yy_start) )