diff options
author | vern <vern> | 1993-11-27 15:01:39 +0000 |
---|---|---|
committer | vern <vern> | 1993-11-27 15:01:39 +0000 |
commit | 76a5a0b3630029891fceccf9007871c70f424d9f (patch) | |
tree | c2260a4589e62024ebaa5ca18f5b3551f28acd91 | |
parent | bc7a4434ae26daff5681a7b69cd37208b8673199 (diff) | |
download | flex-76a5a0b3630029891fceccf9007871c70f424d9f.tar.gz |
lint tweak
-rw-r--r-- | misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,7 +26,7 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -/* $Header: /cvsroot/flex/flex/misc.c,v 2.19 1993/11/20 15:03:48 vern Exp $ */ +/* $Header: /cvsroot/flex/flex/misc.c,v 2.20 1993/11/27 15:01:39 vern Exp $ */ #include "flexdef.h" @@ -184,7 +184,7 @@ register char *str; for ( c = str; *c; ++c ) ; - copy = yy_flex_alloc( (c - str + 1) * sizeof( char ) ); + copy = (char *) yy_flex_alloc( (c - str + 1) * sizeof( char ) ); if ( copy == NULL ) flexfatal( "dynamic memory failure in copy_string()" ); |