Index: sandbox/win/sandbox_poc/pocdll/spyware.cc |
diff --git a/sandbox/win/sandbox_poc/pocdll/spyware.cc b/sandbox/win/sandbox_poc/pocdll/spyware.cc |
index cd75d4f2412611e03b7bdba35faf3f099d6886e8..cf0bd4177f964d3433466ab6bdb3fbe9bafc2247 100644 |
--- a/sandbox/win/sandbox_poc/pocdll/spyware.cc |
+++ b/sandbox/win/sandbox_poc/pocdll/spyware.cc |
@@ -19,7 +19,7 @@ void POCDLL_API TestSpyKeys(HANDLE log) { |
fprintf(output, "[GRANTED] successfully registered hotkey\r\n"); |
UnregisterHotKey(NULL, 1); |
} else { |
- fprintf(output, "[BLOCKED] Failed to register hotkey. Error = %d\r\n", |
+ fprintf(output, "[BLOCKED] Failed to register hotkey. Error = %ld\r\n", |
::GetLastError()); |
} |
@@ -63,6 +63,6 @@ void POCDLL_API TestSpyScreen(HANDLE log) { |
} |
} |
- fprintf(output, "[BLOCKED] Read pixel on screen. Error = %d\r\n", |
+ fprintf(output, "[BLOCKED] Read pixel on screen. Error = %ld\r\n", |
::GetLastError()); |
} |