Index: printing/backend/printing_info_win.h |
diff --git a/printing/backend/printing_info_win.h b/printing/backend/printing_info_win.h |
index 11341943ce2bdd6d508f93263972ab1599743688..c91d837724935c352d36861faca9531ffce88346 100644 |
--- a/printing/backend/printing_info_win.h |
+++ b/printing/backend/printing_info_win.h |
@@ -6,6 +6,7 @@ |
#define PRINTING_BACKEND_PRINTING_INFO_WIN_H_ |
#include <objidl.h> |
+#include <stdint.h> |
#include <winspool.h> |
#include "base/memory/scoped_ptr.h" |
@@ -15,8 +16,8 @@ namespace printing { |
namespace internal { |
-PRINTING_EXPORT uint8* GetDriverInfo(HANDLE printer, int level); |
-PRINTING_EXPORT uint8* GetPrinterInfo(HANDLE printer, int level); |
+PRINTING_EXPORT uint8_t* GetDriverInfo(HANDLE printer, int level); |
+PRINTING_EXPORT uint8_t* GetPrinterInfo(HANDLE printer, int level); |
// This class is designed to work with PRINTER_INFO_X structures |
// and calls GetPrinter internally with correctly allocated buffer. |
@@ -33,7 +34,7 @@ class PrinterInfo { |
} |
private: |
- scoped_ptr<uint8[]> buffer_; |
+ scoped_ptr<uint8_t[]> buffer_; |
}; |
// This class is designed to work with DRIVER_INFO_X structures |
@@ -51,7 +52,7 @@ class DriverInfo { |
} |
private: |
- scoped_ptr<uint8[]> buffer_; |
+ scoped_ptr<uint8_t[]> buffer_; |
}; |
} // namespace internal |