VirtualBox

Ignore:
Timestamp:
Jun 25, 2012 1:28:46 PM (13 years ago)
Author:
vboxsync
Message:

Windows build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/rand/randopenssl.cpp

    r41909 r41910  
    4343{
    4444    /** @todo proper error handling? */
    45     int rc = RAND_bytes(pb, cb);
     45    int rc = RAND_bytes(pb, (int)cb);
    4646    if (RT_UNLIKELY(rc != 1))
    47         rc = RAND_pseudo_bytes(pb, cb);
     47        rc = RAND_pseudo_bytes(pb, (int)cb);
    4848    AssertReleaseMsg(rc == 1, ("RAND_bytes returned %d (error %d)\n", rc, ERR_get_error()));
    4949}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette