1
0
mirror of https://github.com/simh/simh.git synced 2026-02-26 08:44:38 +00:00

SCP: Cleanup MinGW compile warnings

This commit is contained in:
Mark Pizzolato
2019-01-21 02:36:42 -08:00
parent ad40f57809
commit 3cca0cf90b
3 changed files with 5 additions and 32 deletions

View File

@@ -4142,10 +4142,10 @@ VhdPathToHostPath (const char *szVhdPath,
char *c;
char *d = szHostPath;
strncpy (szHostPath, szVhdPath, HostPathSize-1);
memmove (szHostPath, szVhdPath, HostPathSize);
szHostPath[HostPathSize-1] = '\0';
#if defined(VMS)
c = strchr (szVhdPath, ':');
c = strchr (szHostPath, ':');
if (*(c+1) != '\\')
return NULL;
*(c+1) = '[';