Index: sandbox/win/sandbox_poc/pocdll/fs.cc |
diff --git a/sandbox/win/sandbox_poc/pocdll/fs.cc b/sandbox/win/sandbox_poc/pocdll/fs.cc |
index aafb9a5f20da90e4d31a9940a85d850b3e407eac..40596af6dd7f48466e8f4e55753c9fa1ce238d89 100644 |
--- a/sandbox/win/sandbox_poc/pocdll/fs.cc |
+++ b/sandbox/win/sandbox_poc/pocdll/fs.cc |
@@ -14,7 +14,7 @@ void TryOpenFile(const wchar_t *path, FILE *output) { |
wchar_t path_expanded[MAX_PATH] = {0}; |
DWORD size = ::ExpandEnvironmentStrings(path, path_expanded, MAX_PATH - 1); |
if (!size) { |
- fprintf(output, "[ERROR] Cannot expand \"%S\". Error %d.\r\n", path, |
+ fprintf(output, "[ERROR] Cannot expand \"%S\". Error %ld.\r\n", path, |
::GetLastError()); |
} |
@@ -32,7 +32,7 @@ void TryOpenFile(const wchar_t *path, FILE *output) { |
file); |
::CloseHandle(file); |
} else { |
- fprintf(output, "[BLOCKED] Opening file \"%S\". Error %d.\r\n", path, |
+ fprintf(output, "[BLOCKED] Opening file \"%S\". Error %ld.\r\n", path, |
::GetLastError()); |
} |
} |