summaryrefslogtreecommitdiff
path: root/x11/qrash/files/patch-al
blob: f9844a0ba275a3ef39aa996d2bc8faeb0917e779 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- crash.cc.orig	Sun Dec 26 17:24:37 1999
+++ crash.cc	Sun Dec 26 17:24:56 1999
@@ -109,7 +109,7 @@
     { { 1, partText, 1, 2 }, { 0, 0, 0, 0 } },			// 60
     { { 1, foo, 0, 0 }, { 0, 0, 0, 0 } }			// 61
   };
-  const N_PARTS = sizeof(parts)/2/sizeof(PartDesc);
+  const int N_PARTS = sizeof(parts)/2/sizeof(PartDesc);
 
   //  sysRegisterKeyboardHandler( &handler ); doesn't work anymore
 
@@ -195,8 +195,8 @@
 	musSetVolume( 100-row*100/64 );
       }
       if( skip ) {
-	static first = true;
-	static skip_order = 0;
+	static int first = true;
+	static int skip_order = 0;
 	if( first ) {
 	  skip_order = order;
 	  first = false;