* fhandler.h (class fhandler_dev_random): Change type of pseudo to

uint32_t to make sure it's 32 bit on all supported platforms.
This commit is contained in:
Corinna Vinschen 2013-05-21 18:51:36 +00:00
parent 2cf3d4faae
commit cc4a1b830d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-05-21 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_dev_random): Change type of pseudo to
uint32_t to make sure it's 32 bit on all supported platforms.
2013-05-21 Corinna Vinschen <corinna@vinschen.de>
x86_64 only:

View File

@ -1648,7 +1648,7 @@ class fhandler_dev_random: public fhandler_base
{
protected:
HCRYPTPROV crypt_prov;
long pseudo;
uint32_t pseudo;
off_t dummy_offset;
bool crypt_gen_random (void *ptr, size_t len);