Fix this warning: RFCTransport.C: In function 'long unsigned int writeToFileDesc(const char*, int, __va_list_tag*)': RFCTransport.C:91: warning: 'DtMailBoolean' is promoted to 'int' when passed thr ough '...' RFCTransport.C:91: warning: (so you should pass 'int' not 'DtMailBoolean' to 'va _arg') RFCTransport.C:91: note: if this code is reached, the program will abort --- cde/programs/dtmail/libDtMail/RFC/RFCTransport.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cde/programs/dtmail/libDtMail/RFC/RFCTransport.C b/cde/programs/dtmail/libDtMail/RFC/RFCTransport.C index eab791c..7659ff8 100644 --- a/cde/programs/dtmail/libDtMail/RFC/RFCTransport.C +++ b/cde/programs/dtmail/libDtMail/RFC/RFCTransport.C @@ -88,7 +88,7 @@ writeToFileDesc(const char * buf, int len, va_list args) { int * fds = va_arg(args, int *); int cnt = va_arg(args, int); - DtMailBoolean strip = va_arg(args, DtMailBoolean); + DtMailBoolean strip = (DtMailBoolean)va_arg(args, int); unsigned long saveErrno = 0; // Initially no error recorded -- 1.7.9.2 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel