Build fix to eliminate strict aliasing warnings, and a bug fix.

This commit is contained in:
Adam Ierymenko 2013-09-16 19:25:31 +00:00
parent 77f8d75529
commit de5cc82b5b
2 changed files with 10 additions and 2 deletions

View file

@ -572,7 +572,7 @@ public:
char *end = dest + len;
while ((*dest++ = *src++)) {
if (dest == end) {
dest[len - 1] = (char)0;
--dest = (char)0;
return false;
}
}