From 060d75c6a32783212e2a6fd439963e6f1e3d9f14 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Tue, 5 Dec 2023 13:09:08 -0700 Subject: [PATCH] Fix a compiler warning on macOS around dprintf --- src/Types.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Types.cc b/src/Types.cc index 903cea4..771845e 100644 --- a/src/Types.cc +++ b/src/Types.cc @@ -36,8 +36,8 @@ class ExternalZeekStringResource : public v8::String::ExternalOneByteStringResou } void Dispose() override { - dprintf("Disposing ExternalZeekString: this=%p data=%p length=%lu obj_=%p", this, - data_, length_, obj_); + dprintf("Disposing ExternalZeekString: this=%p data=%p length=%" PRId64 " obj_=%p", + this, data_, length_, obj_); Unref(obj_); isolate_->AdjustAmountOfExternalAllocatedMemory(-length_);