From: David Sarrut Date: Tue, 14 Jan 2014 06:54:55 +0000 (+0100) Subject: Remove warning sprintf X-Git-Tag: v1.4.0~142 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=599d581f20dc1f11699c722d2cf40b958c517c74;hp=5a05b543778b62236f31fbb5e0db507e0e0c733d;p=clitk.git Remove warning sprintf --- diff --git a/common/clitkXdrImageIOWriter.cxx b/common/clitkXdrImageIOWriter.cxx index 19567aa..d769b3d 100644 --- a/common/clitkXdrImageIOWriter.cxx +++ b/common/clitkXdrImageIOWriter.cxx @@ -41,6 +41,7 @@ //From portdefs.h #if defined(unix) || defined(__APPLE__) #define O_BINARY 0 +//#define setmode(a,b) 0 // comment by ds #endif #ifndef __LARGE__ @@ -956,7 +957,7 @@ void clitk::XdrImageIO::WriteImage(const char* file, char* headerinfo, char* hea for (i=0; i