Re: [cdesktopenv-devel] [PATCH 1/5] Get rid of unpleasant cast, it causes SIGSEGV

2012-09-24 Thread Jon Trulson
On Mon, 24 Sep 2012, Marcin Cieslak wrote: Applied. -- Jon Trulson The Higgs Field is what make atoms matter. -- Tom L. -- Live Security Virtual Conference Exclusive live event will cover all the ways

[cdesktopenv-devel] [PATCH 1/5] Get rid of unpleasant cast, it causes SIGSEGV

2012-09-24 Thread Marcin Cieslak
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 |7 +