mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 02:19:27 +02:00
* fixed for 64 bit (patch by Michalis Kamburelis, mantis #10508)
git-svn-id: trunk@9627 -
This commit is contained in:
parent
e3d82f1953
commit
2b1f7a257a
@ -57,11 +57,11 @@ type
|
||||
TGLhandleARB = GLhandleARB;
|
||||
PGLhandleARB = ^GLhandleARB;
|
||||
|
||||
GLintptr = Integer;
|
||||
GLintptr = PtrInt;
|
||||
TGLintptr = GLintptr;
|
||||
PGLintptr = ^GLintptr;
|
||||
|
||||
GLsizeiptr = Integer;
|
||||
GLsizeiptr = PtrInt;
|
||||
TGLsizeiptr = GLsizeiptr;
|
||||
PGLsizeiptr = ^GLsizeiptr;
|
||||
|
||||
@ -4269,8 +4269,8 @@ begin
|
||||
begin
|
||||
where := StrPos(start, PChar(extension));
|
||||
if where = nil then Break;
|
||||
terminator := Pointer(Integer(where) + Length(extension));
|
||||
if (where = start) or (PChar(Integer(where) - 1)^ = ' ') then
|
||||
terminator := Pointer(PtrUInt(where) + Length(extension));
|
||||
if (where = start) or (PChar(PtrUInt(where) - 1)^ = ' ') then
|
||||
begin
|
||||
if (terminator^ = ' ') or (terminator^ = #0) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user