summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-10-04 11:39:51 +0200
committerVolker Lendecke <vl@samba.org>2010-10-04 11:43:47 +0200
commit515c8f0289f9ac0d418399499da309f3f88b1540 (patch)
tree6a83f9e06df6e665d8693fcdd83f7d970b4da1c1 /source3
parentb958f98152ab5946b771bde0fffb37fa25126415 (diff)
downloadsamba-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
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/nt_printing.c2
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;