diff options
author | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-01-15 21:29:24 +0000 |
---|---|---|
committer | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-01-15 21:29:24 +0000 |
commit | c4431bfe04c7490ea2d74939d222d87f13f30960 (patch) | |
tree | d701361ded9eb32398ca0074a77a43fa47ecd200 /include/pub_tool_aspacemgr.h | |
parent | a81465a37cee19a5d8a03ee1b1b51a3cdc7b04c9 (diff) | |
download | valgrind-c4431bfe04c7490ea2d74939d222d87f13f30960.tar.gz |
Introduce a new type, PtrdiffT. Replace lots of uses of OffT (all those
that are memory offsets) with PtrdiffT; OffT should only be used for file
sizes and offsets.
Change Off64T from a ULong to a Long, as it should be. Replace some uses
of ULong in the address space manager with Off64T to match.
Also add a comment explaining the meanings of the basic types like Addr,
OffT, SizeT, etc.
Also fix the prototype for VG_(pread) -- the last arg is an OffT, not an
Int.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8959 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'include/pub_tool_aspacemgr.h')
-rw-r--r-- | include/pub_tool_aspacemgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pub_tool_aspacemgr.h b/include/pub_tool_aspacemgr.h index 6144d270e..118655126 100644 --- a/include/pub_tool_aspacemgr.h +++ b/include/pub_tool_aspacemgr.h @@ -101,7 +101,7 @@ typedef /* Associated file (SkFile{C,V} only) */ ULong dev; ULong ino; - ULong offset; + Off64T offset; UInt mode; Int fnIdx; // file name table index, if name is known /* Permissions (SkAnon{C,V}, SkFile{C,V} only) */ |