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:
@@ -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) = '[';
|
||||
|
||||
Reference in New Issue
Block a user