mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-12 22:26:13 -04:00
Fix windows compilation
This commit is contained in:
parent
49e8e02b77
commit
126b36a672
1 changed files with 2 additions and 2 deletions
|
@ -36,10 +36,10 @@ static inline bool changeDirectory(const UString & dir) {
|
|||
return (_chdir(dir.toLocal8Bit()) == 0);
|
||||
}
|
||||
|
||||
static inline UString getAbsPath(const UString * path) {
|
||||
static inline UString getAbsPath(const UString & path) {
|
||||
char abs[1024] = {};
|
||||
if (_fullpath(abs, path.toLocal8Bit(), sizeof(abs)))
|
||||
UString(abs);
|
||||
return UString(abs);
|
||||
return path;
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue