summaryrefslogtreecommitdiffstats
path: root/cryptodev_cipher.c
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2010-06-17 11:40:07 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-06-17 20:27:51 +0200
commite3942824795b23cb6e09eb050e63fdb623d7ae75 (patch)
tree3dfdebb0e461e64d0138a7c8791168dda95f84c3 /cryptodev_cipher.c
parenta218e72b38e3468b1b3ecfaf65e68eeca7c3cf98 (diff)
downloadcryptodev-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 'cryptodev_cipher.c')
0 files changed, 0 insertions, 0 deletions