sal/osl/w32/random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3496535a3754438f314b7b143e7223b498ca3ec9 Author: Norbert Thiebaud <[email protected]> Date: Sun Feb 21 08:19:41 2016 -0800 WaE vs2015: pointer to int casting Change-Id: I3be393ef5a9d1ed732f44037cd1115960a6186d2 Reviewed-on: https://gerrit.libreoffice.org/22592 Reviewed-by: David Ostrovsky <[email protected]> Tested-by: Jenkins <[email protected]> Reviewed-by: Norbert Thiebaud <[email protected]> diff --git a/sal/osl/w32/random.c b/sal/osl/w32/random.c index ca1a809..78ea5bf 100644 --- a/sal/osl/w32/random.c +++ b/sal/osl/w32/random.c @@ -16,7 +16,7 @@ int osl_get_system_random_data(char* buffer, size_t desired_len) unsigned int val; /* if unaligned fill to alignment */ - if((int)buffer & 3) + if((uintptr_t)buffer & 3) { size_t len = 4 - ((size_t)(buffer) & 3); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
