summaryrefslogtreecommitdiff
path: root/misc/estic/files/patch-window.cc
blob: ec22cee772aac6a7f52ec8266fa9cbb0647ca6d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- spunk/window.cc.orig	1997-01-26 17:17:38 UTC
+++ spunk/window.cc
@@ -1432,7 +1432,7 @@ void Window::Write (int X, int Y, const 
 // Write a string to the inner window. Note: Attr is an index, not a real
 // attribute !
 {
-    const BufSize = 256;
+    const int BufSize = 256;
     u16 Buf [256];
 
     // Check if the given string is empty
@@ -1554,7 +1554,7 @@ void Window::CWrite (int X, int Y, const
 // Write a string to the inner window. Note: Attr is an index, not a real
 // attribute !
 {
-    const BufSize = 256;
+    const int BufSize = 256;
     u16 Buf [BufSize];
 
     // If the Y coord is outside the inner window, there is nothing to do