]> granicus.if.org Git - flex/commitdiff
ANSI C / Solaris tweak
authorVern Paxson <vern@ee.lbl.gov>
Fri, 28 Apr 1995 11:39:39 +0000 (11:39 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Fri, 28 Apr 1995 11:39:39 +0000 (11:39 +0000)
misc.c

diff --git a/misc.c b/misc.c
index 61e23d4a5e7c49530f226a4910792f74ac4b94b3..32acd97b5e24fb27db2b34971bcea351407fe3d6 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -37,7 +37,7 @@ int value;
        {
        char buf[MAXLINE];
 
-       if ( strlen( defname ) > MAXLINE / 2 )
+       if ( (int) strlen( defname ) > MAXLINE / 2 )
                {
                format_pinpoint_message( _( "name \"%s\" ridiculously long" ), 
                        defname );