diff options
Diffstat (limited to 'hwpfilter/source/hinfo.h')
-rw-r--r-- | hwpfilter/source/hinfo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hwpfilter/source/hinfo.h b/hwpfilter/source/hinfo.h index d16da5d09013..7f1eee0657c7 100644 --- a/hwpfilter/source/hinfo.h +++ b/hwpfilter/source/hinfo.h @@ -23,6 +23,8 @@ #include "hwplib.h" #include "string.h" +#include <vector> + #define CHAIN_MAX_PATH 40 #define ANNOTATION_LEN 24 @@ -77,7 +79,7 @@ struct PaperBackInfo int range; /* 0-????, 1-????????, 3-??????, 4-?????? */ char reserved3[27]; int size; - char *data; // image data + std::vector<char> data; // image data bool isset; PaperBackInfo() : type(0) @@ -87,7 +89,6 @@ struct PaperBackInfo , flag(0) , range(0) , size(0) - , data(nullptr) , isset(false) { memset(reserved1, 0, sizeof(reserved1)); |