summaryrefslogtreecommitdiff
path: root/ACE/docs
diff options
context:
space:
mode:
authormitza <mitza@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-07-02 14:20:18 +0000
committermitza <mitza@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-07-02 14:20:18 +0000
commit08a1f75e43cbe2322ab6c2027909ec316aa0a2ad (patch)
tree1ff0a464defa55c6b80c1183b35440009de6a618 /ACE/docs
parent4493716dedbb4d08f8e4f35de5dfc863c6ed5c68 (diff)
downloadATCD-08a1f75e43cbe2322ab6c2027909ec316aa0a2ad.tar.gz
ChangeLogTag: Mon Jul 2 14:19:03 UTC 2007 Adam Mitz <mitza@ociweb.com>
Diffstat (limited to 'ACE/docs')
-rw-r--r--ACE/docs/ACE-guidelines.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/ACE/docs/ACE-guidelines.html b/ACE/docs/ACE-guidelines.html
index c4c226c279e..6078999ac03 100644
--- a/ACE/docs/ACE-guidelines.html
+++ b/ACE/docs/ACE-guidelines.html
@@ -607,9 +607,11 @@ Foo::bar ()
of <strong>NULL</strong> is implementation dependent, so it is
difficult to use portably without casting.<p>
- <li>Never cast a pointer to or from an <strong><code>int</code></strong>.
- On all currently supported ACE platforms, it is safe to cast
- a pointer to or from a <strong><code>long</code></strong>.<p>
+ <li>Never cast a pointer to or from an <strong><code>int</code></strong>
+ or a <strong><code>long</code></strong>. On all currently supported
+ ACE platforms, it is safe to cast a pointer to or from
+ <strong><code>intptr_t</code></strong> or
+ <strong><code>uintptr_t</code></strong> (include ace/Basic_Types.h).<p>
<li>Be very careful when selecting an integer type that must be a
certain size, <em>e.g.</em>, 4 bytes. <strong>long</strong> is