1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
diff -Nur euler-1.61.0.orig/src/command.c euler-1.61.0/src/command.c
--- euler-1.61.0.orig/src/command.c 2010-11-19 17:50:54.000000000 +0000
+++ euler-1.61.0/src/command.c 2010-11-19 18:23:11.000000000 +0000
@@ -606,7 +606,7 @@
void do_help (void)
{ char name[256];
header *hd;
- int count,i,defaults;
+ size_t count,i,defaults;
char *p,*end,*pnote;
builtintyp *b;
scan_space();
diff -Nur euler-1.61.0.orig/src/stack.h euler-1.61.0/src/stack.h
--- euler-1.61.0.orig/src/stack.h 2010-11-19 17:50:54.000000000 +0000
+++ euler-1.61.0/src/stack.h 2010-11-19 18:19:23.000000000 +0000
@@ -63,7 +63,7 @@
#endif
} dims;
-typedef struct { unsigned long s; } inttyp;
+typedef struct { size_t s; } inttyp;
typedef struct { header hd; double val; } realtyp;
diff -Nur euler-1.61.0.orig/src/udf.c euler-1.61.0/src/udf.c
--- euler-1.61.0.orig/src/udf.c 2010-11-19 17:50:54.000000000 +0000
+++ euler-1.61.0/src/udf.c 2010-11-19 18:21:20.000000000 +0000
@@ -334,7 +334,7 @@
{ char name[16];
header *hd;
char *p,*pnote;
- int i,count,defaults;
+ size_t i,count,defaults;
builtintyp *b;
scan_space();
scan_name(name); hd=searchudf(name);
|