diff options
author | Volker Lendecke <vl@samba.org> | 2010-10-04 11:39:51 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-10-04 11:43:47 +0200 |
commit | 515c8f0289f9ac0d418399499da309f3f88b1540 (patch) | |
tree | 6a83f9e06df6e665d8693fcdd83f7d970b4da1c1 | |
parent | b958f98152ab5946b771bde0fffb37fa25126415 (diff) | |
download | samba-515c8f0289f9ac0d418399499da309f3f88b1540.tar.gz samba-515c8f0289f9ac0d418399499da309f3f88b1540.tar.bz2 samba-515c8f0289f9ac0d418399499da309f3f88b1540.zip |
s3: Fix a pointer error
It is not universally guaranteed that an enum is represented as a uint32_t.
This starts to be THE BUG (tm) in Samba. What can I do to explain this
to people a bit better? It seems that the verbose explanations I put into
the recent checkins fixing similar bugs are not clear enough.
Anybody who does is not 100% clear about what this patch fixes please
contact me directly so that we can talk it through on the phone to agree
on a wording that everybody can understand.
Thanks,
Volker
-rw-r--r-- | source3/printing/nt_printing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 59af598d17..10804046bc 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -751,7 +751,7 @@ static WERROR clean_up_driver_struct_level(TALLOC_CTX *mem_ctx, const char **config_file, const char **help_file, struct spoolss_StringArray *dependent_files, - uint32_t *version) + enum spoolss_DriverOSVersion *version) { const char *short_architecture; int i; |