]> granicus.if.org Git - flex/commitdiff
lint tweak
authorVern Paxson <vern@ee.lbl.gov>
Sat, 27 Nov 1993 15:01:39 +0000 (15:01 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Sat, 27 Nov 1993 15:01:39 +0000 (15:01 +0000)
misc.c

diff --git a/misc.c b/misc.c
index 9336880f195ba062e567fd3037e1e960c17d9a05..45410267d6d84c6e3d1e897919c1f9b6be296a1a 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -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()" );