Skip to content

More code cleanup and small bug fixes

Alan Coopersmith requested to merge alanc/libxmu:misc into master
  • More typo fixes
  • Use memcpy instead of memmove when buffers are known not to overlap
  • Use _CONST_X_STRING to make libXt declare String as const char *
  • Clear some more -Wdiscarded-qualifiers warnings
  • Handle -Wsign-compare warnings
  • Handle -Wmissing-field-initializers warnings
  • _XEditResGet32: Fix casts to avoid unexpected sign extension in 64-bit
  • Add simple test cases for _XEditRes{Put,Get}* functions
Edited by Alan Coopersmith

Merge request reports