Merge pull request #521 from psychocoderHPC/fix-StringCharWarningsInMemtest

add work around for literal to char* conversion
delete white spaces on empty lines