changeset 10857:608666e629b2

warning fix (missing C initializer)
author pl
date Fri, 12 Sep 2003 15:54:28 +0000
parents 503fb8a04360
children da9311e7f5fc
files osdep/lrmi.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/osdep/lrmi.c	Fri Sep 12 15:52:57 2003 +0000
+++ b/osdep/lrmi.c	Fri Sep 12 15:54:28 2003 +0000
@@ -43,7 +43,7 @@
 	int ready;
 	int count;
 	struct mem_block blocks[REAL_MEM_BLOCKS];
-	} mem_info = { 0 };
+	} mem_info = { .ready = 0, };
 
 static int
 real_mem_init(void)
@@ -181,7 +181,7 @@
 	unsigned short ret_seg, ret_off;
 	unsigned short stack_seg, stack_off;
 	struct vm86_struct vm;
-	} context = { 0 };
+	} context = { .ready = 0, };
 
 
 static inline void