rouault opened a new pull request #33:
URL: https://github.com/apache/xerces-c/pull/33


   Fixes:
   xercesc/util/XMLChTranscoder.cpp:73:23: warning: setting buffer to a 
'sizeof' expression; did you mean to transpose the last two arguments? 
[-Wmemset-transposed-args]
       memset(charSizes, sizeof(XMLCh), countToDo);
                         ^
   xercesc/util/XMLChTranscoder.cpp:73:23: note: cast the second argument to 
'int' to silence
   
   and
   
   xercesc/util/XMLUTF16Transcoder.cpp:114:23: warning: setting buffer to a 
'sizeof' expression; did you mean to transpose the last two arguments? 
[-Wmemset-transposed-args]
       memset(charSizes, sizeof(UTF16Ch), countToDo);
                         ^
   xercesc/util/XMLUTF16Transcoder.cpp:114:23: note: cast the second argument 
to 'int' to silence
   1 warning generated.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to