summaryrefslogtreecommitdiff
path: root/src/panel/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/panel/platform.c')
-rw-r--r--src/panel/platform.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/panel/platform.c b/src/panel/platform.c
index 1248b09..f8eb67f 100644
--- a/src/panel/platform.c
+++ b/src/panel/platform.c
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nsc/panel/platform.c,v 1.3 2003/01/14 09:34:36 alanh Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nsc/panel/platform.c,v 1.3tsi Exp $ */
/*
* $Workfile: platform.c $
* $Revision$
@@ -153,7 +153,7 @@
#define PLT_READ_WORDS 5
#define PLT_WRITE_DWORDS 6
#define PLT_READ_DWORDS 7
-#define PLT_UNKNOWN 0xFFFF
+#define PLT_UNKNOWN ((SYS_BOARD) 0xFFFF)
typedef struct
{
@@ -295,7 +295,7 @@ FindStringInSeg(unsigned int segment_address, char *string_ptr)
char *psegment_buf;
unsigned long mem_ptr = (unsigned long)segment_address << 16;
char segment_buffer[SEGMENT_LENGTH + 1];
- int i, cursor;
+ int i, cursor = 0;
/* silence compiler */
(void)cursor;