s3: Fix a pointer error
authorVolker Lendecke <vl@samba.org>
Mon, 4 Oct 2010 09:39:51 +0000 (11:39 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 4 Oct 2010 09:43:47 +0000 (11:43 +0200)
commit515c8f0289f9ac0d418399499da309f3f88b1540
tree6a83f9e06df6e665d8693fcdd83f7d970b4da1c1
parentb958f98152ab5946b771bde0fffb37fa25126415
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
source3/printing/nt_printing.c