summaryrefslogtreecommitdiff
path: root/examples/uinotification/uinotification.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/uinotification/uinotification.cpp')
-rw-r--r--examples/uinotification/uinotification.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/uinotification/uinotification.cpp b/examples/uinotification/uinotification.cpp
index 91e9b458..f498db4c 100644
--- a/examples/uinotification/uinotification.cpp
+++ b/examples/uinotification/uinotification.cpp
@@ -1,3 +1,4 @@
+#include "inttypes.h"
#include "uinotification.h"
#include "filecontext.h"
#include "viewframe.h"
@@ -87,7 +88,7 @@ void NotificationListener::OnViewChange(UIContext* context, ViewFrame* frame, co
void NotificationListener::OnAddressChange(UIContext* context, ViewFrame* frame, View* view, const ViewLocation& location)
{
- LogInfo("OnAddressChange: %llx", location.getOffset());
+ LogInfo("OnAddressChange: 0x%" PRIx64, location.getOffset());
}