Mail Archives: djgpp-workers/2001/06/20/13:06:31
Nearly there:
Index: src/debug/common/v2load.c
===================================================================
RCS file: /cvs/djgpp/djgpp/src/debug/common/v2load.c,v
retrieving revision 1.5
diff -p -u -r1.5 v2load.c
--- src/debug/common/v2load.c 1999/12/14 12:01:22 1.5
+++ src/debug/common/v2load.c 2001/06/20 16:56:54
@@ -245,9 +245,9 @@ int v2loadimage(const char *program, con
return -1;
if(read_section(pf, client_ds, data_foffset, data_soffset, data_size) )
return -1;
- for (i=0; i+3<bss_size; i+= 4)
+ for (i=0; i+3<(signed)bss_size; i+= 4)
_farpokel(client_ds, bss_soffset+i, 0);
- for (; i<bss_size; i++)
+ for (; i<(signed)bss_size; i++)
_farpokeb(client_ds, bss_soffset+i, 0);
close(pf);
Index: src/libc/ansi/stdio/flsbuf.c
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/ansi/stdio/flsbuf.c,v
retrieving revision 1.9
diff -p -u -r1.9 flsbuf.c
--- src/libc/ansi/stdio/flsbuf.c 2001/06/09 20:33:22 1.9
+++ src/libc/ansi/stdio/flsbuf.c 2001/06/20 16:56:55
@@ -17,7 +17,8 @@ int
_flsbuf(int c, FILE *f)
{
char *base;
- int n, rn;
+ int n;
+ size_t rn;
char c1;
size_t size;
Index: src/stub/stubedit.c
===================================================================
RCS file: /cvs/djgpp/djgpp/src/stub/stubedit.c,v
retrieving revision 1.4
diff -p -u -r1.4 stubedit.c
--- src/stub/stubedit.c 2001/06/09 21:42:39 1.4
+++ src/stub/stubedit.c 2001/06/20 16:57:39
@@ -170,7 +170,7 @@ void num_s2v(void *addr, char *buf, int
struct {
char *short_name;
char *long_name;
- int offset_of_field;
+ unsigned long offset_of_field;
PerFunc val2string;
PerFunc string2val;
int max;
- Raw text -