diff options
author | Phil Sutter <phil.sutter@viprinet.com> | 2010-06-17 11:40:07 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-06-17 20:27:51 +0200 |
commit | e3942824795b23cb6e09eb050e63fdb623d7ae75 (patch) | |
tree | 3dfdebb0e461e64d0138a7c8791168dda95f84c3 /examples/hmac.c | |
parent | a218e72b38e3468b1b3ecfaf65e68eeca7c3cf98 (diff) | |
download | cryptodev-linux-e3942824795b23cb6e09eb050e63fdb623d7ae75.tar.gz cryptodev-linux-e3942824795b23cb6e09eb050e63fdb623d7ae75.tar.xz cryptodev-linux-e3942824795b23cb6e09eb050e63fdb623d7ae75.zip |
*_to_compat, compat_to_*: fix different size pointer casting
In order to warning-free convert a 32bit integer into a 64bit pointer,
casting in two steps is needed: first to adjust the variable size to
64bit, then to actually convert the integer into a pointer. The other
direction is easier: after converting the pointer to an integer,
assignment to a smaller variable can be done without warning.
Diffstat (limited to 'examples/hmac.c')
0 files changed, 0 insertions, 0 deletions