win64 fixes

This commit is contained in:
vscosta
2017-02-22 00:56:20 -08:00
parent 272ddc0228
commit 6ec69aa3c8
4 changed files with 29 additions and 24 deletions

View File

@@ -936,7 +936,7 @@ static unsigned char *concat(int n, void *sv[] USES_REGS) {
buf0 = buf;
for (i = 0; i < n; i++) {
#if _WIN32 || defined(__ANDROID__)
strcpy(buf, sv[lvl]);
strcpy(buf, sv[i]);
buf = (char *)buf + strlen(buf);
#else
buf = stpcpy(buf, sv[i]);