mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 20:49:09 +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;
|
TGLhandleARB = GLhandleARB;
|
||||||
PGLhandleARB = ^GLhandleARB;
|
PGLhandleARB = ^GLhandleARB;
|
||||||
|
|
||||||
GLintptr = Integer;
|
GLintptr = PtrInt;
|
||||||
TGLintptr = GLintptr;
|
TGLintptr = GLintptr;
|
||||||
PGLintptr = ^GLintptr;
|
PGLintptr = ^GLintptr;
|
||||||
|
|
||||||
GLsizeiptr = Integer;
|
GLsizeiptr = PtrInt;
|
||||||
TGLsizeiptr = GLsizeiptr;
|
TGLsizeiptr = GLsizeiptr;
|
||||||
PGLsizeiptr = ^GLsizeiptr;
|
PGLsizeiptr = ^GLsizeiptr;
|
||||||
|
|
||||||
@ -4269,8 +4269,8 @@ begin
|
|||||||
begin
|
begin
|
||||||
where := StrPos(start, PChar(extension));
|
where := StrPos(start, PChar(extension));
|
||||||
if where = nil then Break;
|
if where = nil then Break;
|
||||||
terminator := Pointer(Integer(where) + Length(extension));
|
terminator := Pointer(PtrUInt(where) + Length(extension));
|
||||||
if (where = start) or (PChar(Integer(where) - 1)^ = ' ') then
|
if (where = start) or (PChar(PtrUInt(where) - 1)^ = ' ') then
|
||||||
begin
|
begin
|
||||||
if (terminator^ = ' ') or (terminator^ = #0) then
|
if (terminator^ = ' ') or (terminator^ = #0) then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user