mirror of https://github.com/libAthena/athena.git
Minor fix; added PRISize macro
This commit is contained in:
parent
39dd15cd55
commit
df43b72f8a
|
@ -22,6 +22,12 @@
|
||||||
#define S_ISLNK(m) 0
|
#define S_ISLNK(m) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define PRISize "Iu"
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#define PRISize "zu"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef AT_PRETTY_FUNCTION
|
#ifndef AT_PRETTY_FUNCTION
|
||||||
|
|
|
@ -59,7 +59,7 @@ void FileWriter::open(bool overwrite)
|
||||||
|
|
||||||
if (!m_fileHandle)
|
if (!m_fileHandle)
|
||||||
{
|
{
|
||||||
atError("Unable to open file '%s'", filename());
|
atError("Unable to open file '%s'", filename().c_str());
|
||||||
setError();
|
setError();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue