tools: specify parameter size limits for LPC

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ic7049ffc2a3c4e7dad3356e11f48f6e5ed8eeca1
diff --git a/tools/lpc.hpp b/tools/lpc.hpp
index 7343648..32e1d8c 100644
--- a/tools/lpc.hpp
+++ b/tools/lpc.hpp
@@ -22,7 +22,7 @@
 {
   public:
     LpcDataHandler(ipmiblob::BlobInterface* blob, HostIoInterface* io,
-                   long address, long length,
+                   std::uint32_t address, std::uint32_t length,
                    const internal::Sys* sys = &internal::sys_impl) :
         blob(blob),
         io(io), address(address), length(length), sys(sys){};
@@ -36,8 +36,8 @@
   private:
     ipmiblob::BlobInterface* blob;
     HostIoInterface* io;
-    long address;
-    long length;
+    std::uint32_t address;
+    std::uint32_t length;
     const internal::Sys* sys;
 };