ITS#10171 - Explicitly cast private values
Fixes issues with -Werror=incompatible-pointer-types
Also fixed an error seen on i686 where an unsigned long was being assigned to a size_t (which is unsigned int on that platform)
Signed-off-by: Stephen Gallagher sgallagh@redhat.com