projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f6e8b6
)
Fixed SILC_PTR_TO_64
author
Pekka Riikonen
<priikone@silcnet.org>
Fri, 24 Nov 2006 14:45:12 +0000
(14:45 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Fri, 24 Nov 2006 14:45:12 +0000
(14:45 +0000)
lib/silcutil/silctypes.h
patch
|
blob
|
history
diff --git
a/lib/silcutil/silctypes.h
b/lib/silcutil/silctypes.h
index 4f3eea68933b45716c265edc5af08973508f8cff..1e7639ce879a9f255c57a261ef176f7ab12873ee 100644
(file)
--- a/
lib/silcutil/silctypes.h
+++ b/
lib/silcutil/silctypes.h
@@
-551,8
+551,7
@@
do { \
#if SILC_SIZEOF_VOID_P < 8
#define SILC_PTR_TO_64(_ptr__) ((SilcUInt64)((SilcUInt32)(_ptr__)))
#else
-#define SILC_PTR_TO_64(_ptr__) \
- ((SilcUInt64)((SilcUInt64)(_ptr__) & (SilcUInt32)0xFFFFFFFFUL))
+#define SILC_PTR_TO_64(_ptr__) ((SilcUInt64)((SilcUInt64)(_ptr__)))
#endif
/***/
@@
-560,7
+559,7
@@
do { \
*
* NAME
*
- * #define SILC_
PTR_TO_32
...
+ * #define SILC_
32_TO_PTR
...
*
* DESCRIPTION
*
@@
-581,7
+580,7
@@
do { \
*
* NAME
*
- * #define SILC_
PTR_TO_64
...
+ * #define SILC_
64_TO_PTR
...
*
* DESCRIPTION
*