summaryrefslogtreecommitdiff
path: root/comms/estic/patches/patch-spunk_window.cc
blob: ae821123b23be54d575d051cd3bea6269e8ceba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-spunk_window.cc,v 1.1 2012/11/16 00:37:47 joerg Exp $

--- spunk/window.cc.orig	1997-01-26 18:17:38.000000000 +0000
+++ 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