Module Name: src Committed By: darran Date: Wed Dec 23 00:12:57 UTC 2009
Modified Files: src/external/bsd/libdwarf/dist: dwarf_init.c Log Message: Fix a signed vrs unsigned cast. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/libdwarf/dist/dwarf_init.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/libdwarf/dist/dwarf_init.c diff -u src/external/bsd/libdwarf/dist/dwarf_init.c:1.1.1.1 src/external/bsd/libdwarf/dist/dwarf_init.c:1.2 --- src/external/bsd/libdwarf/dist/dwarf_init.c:1.1.1.1 Wed Dec 23 00:03:22 2009 +++ src/external/bsd/libdwarf/dist/dwarf_init.c Wed Dec 23 00:12:57 2009 @@ -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 (j...@freebsd.org) @@ -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;