summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvern <vern>1993-11-27 15:01:39 +0000
committervern <vern>1993-11-27 15:01:39 +0000
commit76a5a0b3630029891fceccf9007871c70f424d9f (patch)
treec2260a4589e62024ebaa5ca18f5b3551f28acd91
parentbc7a4434ae26daff5681a7b69cd37208b8673199 (diff)
downloadflex-76a5a0b3630029891fceccf9007871c70f424d9f.tar.gz
lint tweak
-rw-r--r--misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index 4d18566..1df0637 100644
--- a/misc.c
+++ b/misc.c
@@ -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()" );