WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] More gcc4 signed/unsigned char fixes.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] More gcc4 signed/unsigned char fixes.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Mon, 25 Apr 2005 09:04:02 +0000
Delivery-date: Mon, 25 Apr 2005 10:02:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1380, 2005/04/25 10:04:02+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        More gcc4 signed/unsigned char fixes.
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 console.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)


diff -Nru a/xen/drivers/char/console.c b/xen/drivers/char/console.c
--- a/xen/drivers/char/console.c        2005-04-25 06:02:58 -04:00
+++ b/xen/drivers/char/console.c        2005-04-25 06:02:58 -04:00
@@ -493,10 +493,10 @@
 /* Send output direct to console, or buffer it? */
 int debugtrace_send_to_console;
 
-static unsigned char *debugtrace_buf; /* Debug-trace buffer */
-static unsigned int   debugtrace_prd; /* Producer index     */
-static unsigned int   debugtrace_kilobytes = 128, debugtrace_bytes;
-static spinlock_t debugtrace_lock = SPIN_LOCK_UNLOCKED;
+static char        *debugtrace_buf; /* Debug-trace buffer */
+static unsigned int debugtrace_prd; /* Producer index     */
+static unsigned int debugtrace_kilobytes = 128, debugtrace_bytes;
+static spinlock_t   debugtrace_lock = SPIN_LOCK_UNLOCKED;
 integer_param("debugtrace", debugtrace_kilobytes);
 
 void debugtrace_dump(void)
@@ -535,9 +535,9 @@
 {
     static char    buf[1024];
 
-    va_list        args;
-    unsigned char *p;
-    unsigned long  flags;
+    va_list       args;
+    char         *p;
+    unsigned long flags;
 
     if ( debugtrace_bytes == 0 )
         return;
@@ -582,7 +582,7 @@
         return 0;
 
     order = get_order(bytes);
-    debugtrace_buf = (unsigned char *)alloc_xenheap_pages(order);
+    debugtrace_buf = (char *)alloc_xenheap_pages(order);
     ASSERT(debugtrace_buf != NULL);
 
     memset(debugtrace_buf, '\0', bytes);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] More gcc4 signed/unsigned char fixes., BitKeeper Bot <=