Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/groff/src/utils/hpftodit Fix stupid 32bit assumptio...
details: https://anonhg.NetBSD.org/src/rev/e45d592173e8
branches: trunk
changeset: 568805:e45d592173e8
user: martin <martin%NetBSD.org@localhost>
date: Sun Aug 01 10:19:26 2004 +0000
description:
Fix stupid 32bit assumption: uint32 is not a good type to store pointers.
Use intptr_t instead.
diffstat:
gnu/dist/groff/src/utils/hpftodit/hpftodit.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 1263a23d1f96 -r e45d592173e8 gnu/dist/groff/src/utils/hpftodit/hpftodit.cpp
--- a/gnu/dist/groff/src/utils/hpftodit/hpftodit.cpp Sun Aug 01 08:02:55 2004 +0000
+++ b/gnu/dist/groff/src/utils/hpftodit/hpftodit.cpp Sun Aug 01 10:19:26 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hpftodit.cpp,v 1.1.1.2 2004/07/30 14:45:06 wiz Exp $ */
+/* $NetBSD: hpftodit.cpp,v 1.2 2004/08/01 10:19:26 martin Exp $ */
// -*- C++ -*-
/* Copyright (C) 1994, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
@@ -158,7 +158,7 @@
char present;
uint16 type;
uint32 count;
- uint32 value;
+ intptr_t value;
entry() : present(0) { }
};
Home |
Main Index |
Thread Index |
Old Index