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
37
38
|
--- fte/src/con_slang.cpp 2003-02-16 19:23:58.000000000 +0100
+++ fte-gcc34/src/con_slang.cpp 2005-01-12 16:57:38.050369064 +0100
@@ -246,7 +246,7 @@
SLsmg_write_nchars(slang_dchs, sizeof(slang_dchs));
SLsmg_gotorc(0, 0);
- SLsmg_read_raw(linebuf, sizeof(slang_dchs));
+ SLsmg_read_raw((SLsmg_Char_Type*)linebuf, sizeof(slang_dchs));
for (i = 0; i < sizeof(slang_dchs); i++)
raw_dchs[i] = (linebuf[i]) & 0xff;
@@ -368,7 +368,7 @@
ConQueryCursorPos(&CurX, &CurY);
while (H > 0) {
SLsmg_gotorc(Y++, X);
- SLsmg_write_raw(box, W);
+ SLsmg_write_raw((SLsmg_Char_Type*)box, W);
box += W;
H--;
}
@@ -386,7 +386,7 @@
ConQueryCursorPos(&CurX, &CurY);
while (H > 0) {
SLsmg_gotorc(Y++, X);
- SLsmg_read_raw(Cell, W);
+ SLsmg_read_raw((SLsmg_Char_Type*)Cell, W);
for (i = 0; i < W; i++)
if (Cell[i] & 0x8000) {
ch = Cell[i] & 0xff;
@@ -409,7 +409,7 @@
ConQueryCursorPos(&CurX, &CurY);
while (H > 0) {
SLsmg_gotorc(Y++, X);
- SLsmg_read_raw(box, W);
+ SLsmg_read_raw((SLsmg_Char_Type*)box, W);
box += W;
H--;
}
|