Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/dreamcast/include Fixed type mismatch in debug outp...



details:   https://anonhg.NetBSD.org/src/rev/ddda43b9d1d1
branches:  trunk
changeset: 503171:ddda43b9d1d1
user:      marcus <marcus%NetBSD.org@localhost>
date:      Fri Feb 02 06:27:44 2001 +0000

description:
Fixed type mismatch in debug output...

diffstat:

 sys/arch/dreamcast/include/bus.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c59fc4e498f3 -r ddda43b9d1d1 sys/arch/dreamcast/include/bus.h
--- a/sys/arch/dreamcast/include/bus.h  Fri Feb 02 06:12:34 2001 +0000
+++ b/sys/arch/dreamcast/include/bus.h  Fri Feb 02 06:27:44 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.2 2001/01/31 18:37:11 thorpej Exp $  */
+/*     $NetBSD: bus.h,v 1.3 2001/02/02 06:27:44 marcus Exp $   */
 
 /*-
  * Copyright (c) 1997, 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -93,7 +93,7 @@
 ({                                                                     \
        if (__BUS_SPACE_ALIGNED_ADDRESS((p), t) == 0) {                 \
                printf("%s 0x%lx not aligned to %lu bytes %s:%d\n",     \
-                   d, (u_long)(p), sizeof(t), __FILE__, __LINE__);     \
+                   d, (u_long)(p), (u_long)sizeof(t), __FILE__, __LINE__);     \
        }                                                               \
        (void) 0;                                                       \
 })



Home | Main Index | Thread Index | Old Index