Get rid of unpleasant cast, it causes SIGSEGV
authorMarcin Cieslak <saper@saper.info>
Mon, 24 Sep 2012 11:36:13 +0000 (13:36 +0200)
committerJon Trulson <jon@radscan.com>
Tue, 25 Sep 2012 00:25:28 +0000 (18:25 -0600)
commit3a246dfb9bac6080d10717121a55ae4dea3207a3
treed83b9ad99f2998925e47b0c10989a07eaee20a22
parent86cb67de903798696e3140a52561337c9d033d40
Get rid of unpleasant cast, it causes SIGSEGV

Having a difficult choice between unplasant
cast to get a void * into an enumeration type
and "Something's wrong here" double cast
I decided for the latter.

At least it does not crash when the legal
value of zero is passed as the argument.
cde/programs/dtmail/dtmail/DmxPrintOptions.C