mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-20 18:53:33 +01:00
* fixed 64 bit compilation
git-svn-id: trunk@7396 -
This commit is contained in:
parent
a0b57eddb5
commit
f50eb8c9f6
@ -762,7 +762,7 @@ begin
|
||||
c:=#0;
|
||||
// make sure the statement after this does not write to a read-only location
|
||||
GlobalStrValidate28 := c;
|
||||
PInteger(Integer(GlobalStrValidate28)-4)^ := 0; //Set Length to 0
|
||||
PSizeInt(Pointer(GlobalStrValidate28)-sizeof(SizeInt))^ := 0; //Set Length to 0
|
||||
try
|
||||
StrToInt(GlobalStrValidate28);
|
||||
ErrorTrap(VALIDATENO, GlobalStrValidate28);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user