1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

s3-spoolss: fix type-punned pointer build warning.

Guenther
This commit is contained in:
Günther Deschner 2010-08-03 15:13:57 +02:00
parent 743a2dedf4
commit bf19a5228a

View File

@ -4045,13 +4045,15 @@ WERROR winreg_get_driver(TALLOC_CTX *mem_ctx,
for (i = 0; i < num_values; i++) {
const char *tmp_str;
uint32_t tmp = 0;
v = &enum_values[i];
result = winreg_enumval_to_dword(info8, v,
"Version",
(uint32_t *) &info8->version);
&tmp);
CHECK_ERROR(result);
info8->version = tmp;
result = winreg_enumval_to_sz(info8, v,
"Driver",