diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2008-08-09 16:24:18 +0200 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2008-08-09 16:24:18 +0200 |
commit | 3529b5d06b30ee88b431cdf216cc48088bc83a13 (patch) | |
tree | 726a4dadba95aae3242b59bc27439625eab10df2 | |
parent | 0f473e02c50b9127a89e6cbf8f502d1e5e808fa4 (diff) |
Fix a signed/unsigned comparison warning.
-rw-r--r-- | libspectre/ps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libspectre/ps.c b/libspectre/ps.c index 15ba664..9a439de 100644 --- a/libspectre/ps.c +++ b/libspectre/ps.c @@ -193,7 +193,7 @@ static char *ps_io_fgetchars PT((FileData, int)); static int ps_io_fseek PT((FileData, int)); static int ps_io_ftell PT((FileData)); -static char *readline PT((FileData, unsigned long, char **, long *, unsigned int *)); +static char *readline PT((FileData, long, char **, long *, unsigned int *)); static char *gettextline PT((char *)); static char *ps_gettext PT((char *,char **)); static int blank PT((char *)); @@ -357,7 +357,7 @@ psscan(const char *filename, int scanstyle) char *next_char; /* 1st char after text returned by ps_gettext() */ char *cp; ConstMedia dmp; - unsigned long enddoseps; /* zero of not DOS EPS, otherwise position of end of ps section */ + long enddoseps; /* zero of not DOS EPS, otherwise position of end of ps section */ DOSEPS doseps; FileData fd; int respect_eof; /* Derived from the scanstyle argument. @@ -1762,7 +1762,7 @@ static char * ps_io_fgetchars(fd,num) static char * readline (fd, enddoseps, lineP, positionP, line_lenP) FileData fd; - unsigned long enddoseps; + long enddoseps; char **lineP; long *positionP; unsigned int *line_lenP; |