OSDN Git Service
(root)
/
gikonavigoeson
/
gikonavi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48ef385
)
IntegerをCardinalに変更
author
h677
<h677>
Thu, 21 Feb 2008 16:20:47 +0000
(16:20 +0000)
committer
h677
<h677>
Thu, 21 Feb 2008 16:20:47 +0000
(16:20 +0000)
GikoSystem.pas
patch
|
blob
|
history
diff --git
a/GikoSystem.pas
b/GikoSystem.pas
index
a9b5d1e
..
f1afb9f
100644
(file)
--- a/
GikoSystem.pas
+++ b/
GikoSystem.pas
@@
-1186,10
+1186,10
@@
end;
}
function TGikoSys.DirectoryExistsEx(const Name: string): Boolean;
var
- Code:
Integer
;
+ Code:
Cardinal
;
begin
Code := GetFileAttributes(PChar(Name));
- Result := (Code <>
-1
) and (FILE_ATTRIBUTE_DIRECTORY and Code <> 0);
+ Result := (Code <>
Cardinal(-1)
) and (FILE_ATTRIBUTE_DIRECTORY and Code <> 0);
end;
{!