]>
Commit | Line | Data |
---|---|---|
3dae5d0b TP |
1 | diff -urN erikyyyphone-1.0.1.orig/acinclude.m4 erikyyyphone-1.0.1/acinclude.m4 |
2 | --- erikyyyphone-1.0.1.orig/acinclude.m4 2000-05-12 07:28:24.000000000 +0200 | |
3 | +++ erikyyyphone-1.0.1/acinclude.m4 2003-08-19 19:29:45.000000000 +0200 | |
4 | @@ -123,11 +123,7 @@ | |
5 | YYY_LDFLAGS="$YYY_LDFLAGS -s" | |
6 | fi | |
7 | ||
8 | -if test "$yyynowarnerror" = "yes"; then | |
9 | - YYY_CXXFLAGS="$YYY_CXXFLAGS -Wall" | |
10 | -else | |
11 | - YYY_CXXFLAGS="$YYY_CXXFLAGS -Wall -Werror" | |
12 | -fi | |
13 | +YYY_CXXFLAGS="$YYY_CXXFLAGS -Wall" | |
14 | ||
15 | ]) | |
16 | ||
17 | diff -urN erikyyyphone-1.0.1.orig/src/CC_oberfl.C erikyyyphone-1.0.1/src/CC_oberfl.C | |
18 | --- erikyyyphone-1.0.1.orig/src/CC_oberfl.C 1999-04-20 23:18:56.000000000 +0200 | |
19 | +++ erikyyyphone-1.0.1/src/CC_oberfl.C 2003-08-19 19:28:14.000000000 +0200 | |
20 | @@ -30,7 +30,7 @@ | |
21 | ||
22 | #include <stdlib.h> | |
23 | #include <stdio.h> | |
24 | - | |
25 | +#include <string.h> | |
26 | ||
27 | static char *editstring; | |
28 | static int recordstat; | |
29 | diff -urN erikyyyphone-1.0.1.orig/src/Ccommon.C erikyyyphone-1.0.1/src/Ccommon.C | |
30 | --- erikyyyphone-1.0.1.orig/src/Ccommon.C 1996-12-22 20:09:17.000000000 +0100 | |
31 | +++ erikyyyphone-1.0.1/src/Ccommon.C 2003-08-19 19:29:58.000000000 +0200 | |
32 | @@ -25,6 +25,7 @@ | |
33 | #include "fatal.H" | |
34 | #include "erikyyylist.H" | |
35 | #include <stdlib.h> | |
36 | +#include <string.h> | |
37 | ||
38 | #define MODE_init1 200 | |
39 | #define MODE_serverready 201 | |
40 | diff -urN erikyyyphone-1.0.1.orig/src/clientconnection.C erikyyyphone-1.0.1/src/clientconnection.C | |
41 | --- erikyyyphone-1.0.1.orig/src/clientconnection.C 1996-12-23 10:37:45.000000000 +0100 | |
42 | +++ erikyyyphone-1.0.1/src/clientconnection.C 2003-08-19 19:31:06.000000000 +0200 | |
43 | @@ -30,6 +30,7 @@ | |
44 | #include <stdlib.h> | |
45 | #include <unistd.h> | |
46 | #include <stdio.h> | |
47 | +#include <string.h> | |
48 | ||
49 | liste <clientconnection> *clientconnectionlist; | |
50 | liste <int32> *clientallowancelist; | |
51 | diff -urN erikyyyphone-1.0.1.orig/src/servermain.C erikyyyphone-1.0.1/src/servermain.C | |
52 | --- erikyyyphone-1.0.1.orig/src/servermain.C 2000-09-19 18:09:15.000000000 +0200 | |
53 | +++ erikyyyphone-1.0.1/src/servermain.C 2003-08-19 19:30:43.000000000 +0200 | |
54 | @@ -42,6 +42,7 @@ | |
55 | #include <fcntl.h> | |
56 | #include <sys/ioctl.h> | |
57 | #include <sys/resource.h> | |
58 | +#include <string.h> | |
59 | ||
60 | int main(int argc,char **argv) | |
61 | { | |
62 | diff -urN erikyyyphone-1.0.1.orig/src/inconnection.C erikyyyphone-1.0.1/src/inconnection.C | |
63 | --- erikyyyphone-1.0.1.orig/src/inconnection.C 1996-12-23 10:22:30.000000000 +0100 | |
64 | +++ erikyyyphone-1.0.1/src/inconnection.C 2003-08-27 23:43:55.000000000 +0200 | |
65 | @@ -30,7 +30,7 @@ | |
66 | #include "warter.H" | |
67 | #include <stdlib.h> | |
68 | #include <stdio.h> | |
69 | - | |
70 | +#include <string.h> | |
71 | ||
72 | liste<inconnection> *inconnectionlist; | |
73 | ||
74 | diff -urN erikyyyphone-1.0.1.orig/src/outconnection.C erikyyyphone-1.0.1/src/outconnection.C | |
75 | --- erikyyyphone-1.0.1.orig/src/outconnection.C 1996-12-22 10:29:53.000000000 +0100 | |
76 | +++ erikyyyphone-1.0.1/src/outconnection.C 2003-08-27 23:44:12.000000000 +0200 | |
77 | @@ -32,6 +32,7 @@ | |
78 | #include <stdlib.h> | |
79 | #include <netinet/in.h> | |
80 | #include <stdio.h> | |
81 | +#include <string.h> | |
82 | ||
83 | #define MODE_init 900 | |
84 | #define MODE_serverready 901 | |
85 | diff -urN erikyyyphone-1.0.1.orig/src/sound.C erikyyyphone-1.0.1/src/sound.C | |
86 | --- erikyyyphone-1.0.1.orig/src/sound.C 2000-09-19 18:22:42.000000000 +0200 | |
87 | +++ erikyyyphone-1.0.1/src/sound.C 2003-08-27 23:52:17.000000000 +0200 | |
88 | @@ -68,14 +68,14 @@ | |
89 | gsmsamples[u]=a; | |
90 | }; | |
91 | ||
92 | - my_gsm_encode(gsmhandle, gsmsamples+160*0, (gsm_frame)(dest+33*0)); | |
93 | - my_gsm_encode(gsmhandle, gsmsamples+160*1, (gsm_frame)(dest+33*1)); | |
94 | - my_gsm_encode(gsmhandle, gsmsamples+160*2, (gsm_frame)(dest+33*2)); | |
95 | - my_gsm_encode(gsmhandle, gsmsamples+160*3, (gsm_frame)(dest+33*3)); | |
96 | - my_gsm_encode(gsmhandle, gsmsamples+160*4, (gsm_frame)(dest+33*4)); | |
97 | - my_gsm_encode(gsmhandle, gsmsamples+160*5, (gsm_frame)(dest+33*5)); | |
98 | - my_gsm_encode(gsmhandle, gsmsamples+160*6, (gsm_frame)(dest+33*6)); | |
99 | - my_gsm_encode(gsmhandle, gsmsamples+160*7, (gsm_frame)(dest+33*7)); | |
100 | + my_gsm_encode(gsmhandle, gsmsamples+160*0, (gsm_byte*)(dest+33*0)); | |
101 | + my_gsm_encode(gsmhandle, gsmsamples+160*1, (gsm_byte*)(dest+33*1)); | |
102 | + my_gsm_encode(gsmhandle, gsmsamples+160*2, (gsm_byte*)(dest+33*2)); | |
103 | + my_gsm_encode(gsmhandle, gsmsamples+160*3, (gsm_byte*)(dest+33*3)); | |
104 | + my_gsm_encode(gsmhandle, gsmsamples+160*4, (gsm_byte*)(dest+33*4)); | |
105 | + my_gsm_encode(gsmhandle, gsmsamples+160*5, (gsm_byte*)(dest+33*5)); | |
106 | + my_gsm_encode(gsmhandle, gsmsamples+160*6, (gsm_byte*)(dest+33*6)); | |
107 | + my_gsm_encode(gsmhandle, gsmsamples+160*7, (gsm_byte*)(dest+33*7)); | |
108 | }; | |
109 | ||
110 | ||
111 | @@ -83,21 +83,21 @@ | |
112 | ||
113 | void SOUND_uncompressgsm(char *dest, char *src) | |
114 | { | |
115 | - if (my_gsm_decode(gsmhandle, (gsm_frame)(src+33*0), gsmsamples+160*0)<0) | |
116 | + if (my_gsm_decode(gsmhandle, (gsm_byte*)(src+33*0), gsmsamples+160*0)<0) | |
117 | fatalfehler("SOUND_uncompressgsm: gsm_decode failed :( (0)"); | |
118 | - if (my_gsm_decode(gsmhandle, (gsm_frame)(src+33*1), gsmsamples+160*1)<0) | |
119 | + if (my_gsm_decode(gsmhandle, (gsm_byte*)(src+33*1), gsmsamples+160*1)<0) | |
120 | fatalfehler("SOUND_uncompressgsm: gsm_decode failed :( (1)"); | |
121 | - if (my_gsm_decode(gsmhandle, (gsm_frame)(src+33*2), gsmsamples+160*2)<0) | |
122 | + if (my_gsm_decode(gsmhandle, (gsm_byte*)(src+33*2), gsmsamples+160*2)<0) | |
123 | fatalfehler("SOUND_uncompressgsm: gsm_decode failed :( (2)"); | |
124 | - if (my_gsm_decode(gsmhandle, (gsm_frame)(src+33*3), gsmsamples+160*3)<0) | |
125 | + if (my_gsm_decode(gsmhandle, (gsm_byte*)(src+33*3), gsmsamples+160*3)<0) | |
126 | fatalfehler("SOUND_uncompressgsm: gsm_decode failed :( (3)"); | |
127 | - if (my_gsm_decode(gsmhandle, (gsm_frame)(src+33*4), gsmsamples+160*4)<0) | |
128 | + if (my_gsm_decode(gsmhandle, (gsm_byte*)(src+33*4), gsmsamples+160*4)<0) | |
129 | fatalfehler("SOUND_uncompressgsm: gsm_decode failed :( (0)"); | |
130 | - if (my_gsm_decode(gsmhandle, (gsm_frame)(src+33*5), gsmsamples+160*5)<0) | |
131 | + if (my_gsm_decode(gsmhandle, (gsm_byte*)(src+33*5), gsmsamples+160*5)<0) | |
132 | fatalfehler("SOUND_uncompressgsm: gsm_decode failed :( (1)"); | |
133 | - if (my_gsm_decode(gsmhandle, (gsm_frame)(src+33*6), gsmsamples+160*6)<0) | |
134 | + if (my_gsm_decode(gsmhandle, (gsm_byte*)(src+33*6), gsmsamples+160*6)<0) | |
135 | fatalfehler("SOUND_uncompressgsm: gsm_decode failed :( (2)"); | |
136 | - if (my_gsm_decode(gsmhandle, (gsm_frame)(src+33*7), gsmsamples+160*7)<0) | |
137 | + if (my_gsm_decode(gsmhandle, (gsm_byte*)(src+33*7), gsmsamples+160*7)<0) | |
138 | fatalfehler("SOUND_uncompressgsm: gsm_decode failed :( (3)"); | |
139 | ||
140 | for (int u=0;u<ANZ_SAMPLES_PRO_GSM;u++) { |