PatchSet 6962 
Date: 2005/10/28 15:26:16
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
warning fixlet for solaris

Members: 
        ChangeLog:1.4485->1.4486 
        kaffe/kaffevm/jit3/constpool.c:1.15->1.16 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4485 kaffe/ChangeLog:1.4486
--- kaffe/ChangeLog:1.4485      Tue Oct 25 15:42:43 2005
+++ kaffe/ChangeLog     Fri Oct 28 15:26:16 2005
@@ -1,3 +1,8 @@
+2005-10-28  Dalibor Topic  <[EMAIL PROTECTED]>
+
+       * kaffe/kaffevm/jit3/constpool.c: Replaced bzero by memset to
+       fix warning on sparc-solaris9. 
+
 2005-10-25  Jim Huang  <[EMAIL PROTECTED]>
 
        * libraries/clib/awt/X/Makefile.am: Add XI18N_CFLAGS.
Index: kaffe/kaffe/kaffevm/jit3/constpool.c
diff -u kaffe/kaffe/kaffevm/jit3/constpool.c:1.15 
kaffe/kaffe/kaffevm/jit3/constpool.c:1.16
--- kaffe/kaffe/kaffevm/jit3/constpool.c:1.15   Mon May 30 09:24:01 2005
+++ kaffe/kaffe/kaffevm/jit3/constpool.c        Fri Oct 28 15:26:20 2005
@@ -19,6 +19,7 @@
 #include "debug.h"
 
 #include <stdarg.h>
+#include <string.h>
 
 /**
  * These variables track the pool of constpool objects allocated by the jitter.
@@ -44,7 +45,7 @@
        assert(type > CP_min);
        assert(type < CP_max);
 
-       bzero(&val, sizeof(val));
+       memset(&val, '\0', sizeof(val));
        va_start(arg, type);
        switch (type) {
        case CPint:

_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to