Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/libdwarf/dist Fix a signed vrs unsigned cast.
details: https://anonhg.NetBSD.org/src/rev/d2c603ead43a
branches: trunk
changeset: 750280:d2c603ead43a
user: darran <darran%NetBSD.org@localhost>
date: Wed Dec 23 00:12:57 2009 +0000
description:
Fix a signed vrs unsigned cast.
diffstat:
external/bsd/libdwarf/dist/dwarf_init.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r e3e8433ff62b -r d2c603ead43a external/bsd/libdwarf/dist/dwarf_init.c
--- a/external/bsd/libdwarf/dist/dwarf_init.c Wed Dec 23 00:11:36 2009 +0000
+++ b/external/bsd/libdwarf/dist/dwarf_init.c Wed Dec 23 00:12:57 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwarf_init.c,v 1.1.1.1 2009/12/23 00:03:22 darran Exp $ */
+/* $NetBSD: dwarf_init.c,v 1.2 2009/12/23 00:12:57 darran Exp $ */
/*-
* Copyright (c) 2007 John Birrell (jb%freebsd.org@localhost)
@@ -247,7 +247,7 @@
{
uint8_t *ret;
- uint8_t *src = (char *) (*dp)->d_buf + *offsetp;
+ uint8_t *src = (uint8_t *) (*dp)->d_buf + *offsetp;
ret = src;
Home |
Main Index |
Thread Index |
Old Index