mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
fix openjdk build after finder size_t change
I'm not sure how we didn't catch this when merging #425, but there you are.
This commit is contained in:
parent
1aca664d67
commit
1f6e7be3b0
@ -993,7 +993,7 @@ int64_t JNICALL
|
||||
return Exists | Directory;
|
||||
}
|
||||
|
||||
unsigned length;
|
||||
size_t length;
|
||||
System::FileType type = finder->stat(ef.path, &length, true);
|
||||
switch (type) {
|
||||
case System::TypeUnknown:
|
||||
@ -1052,7 +1052,7 @@ int64_t JNICALL
|
||||
return mask == Read;
|
||||
}
|
||||
|
||||
unsigned length;
|
||||
size_t length;
|
||||
System::FileType type = finder->stat(ef.path, &length, true);
|
||||
switch (type) {
|
||||
case System::TypeDoesNotExist:
|
||||
@ -1106,7 +1106,7 @@ int64_t JNICALL getFileLength(Thread* t, GcMethod* method, uintptr_t* arguments)
|
||||
return 0;
|
||||
}
|
||||
|
||||
unsigned fileLength;
|
||||
size_t fileLength;
|
||||
finder->stat(ef.path, &fileLength);
|
||||
return fileLength;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user