summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()" );