mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-20 21:21:39 +02:00
another fix for the new warning introduced in r39347, hopefully it fixes win32 build
git-svn-id: trunk@39352 -
This commit is contained in:
parent
05ac42766d
commit
e7025b6759
@ -1300,6 +1300,7 @@ end;
|
||||
GetShortName:=n;
|
||||
{$ifdef win32}
|
||||
hs:=n+#0;
|
||||
hs2:='';
|
||||
{ may become longer in case of e.g. ".a" -> "a~1" or so }
|
||||
setlength(hs2,length(hs)*2);
|
||||
i:=Windows.GetShortPathName(@hs[1],@hs2[1],length(hs)*2);
|
||||
|
Loading…
Reference in New Issue
Block a user