Changeset 524 for trunk/gsdl


Ignore:
Timestamp:
1999-09-02T21:45:01+12:00 (25 years ago)
Author:
rjmcnab
Message:

fixed small compiler warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/packages/wingdbm/getopt.c

    r18 r524  
    5151#endif
    5252
     53#include <string.h>
    5354#include <stdio.h>
    5455
     
    457458    if (!strncmp (p->name, nextchar, s - nextchar))
    458459      {
    459         if (s - nextchar == strlen (p->name))
    460           {
     460        if ((unsigned int)(s - nextchar) == strlen (p->name))
     461        {
    461462        /* Exact match found.  */
    462463        pfound = p;
Note: See TracChangeset for help on using the changeset viewer.