summaryrefslogtreecommitdiff
path: root/plugin/file_key_management/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/file_key_management/parser.h')
-rw-r--r--plugin/file_key_management/parser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/file_key_management/parser.h b/plugin/file_key_management/parser.h
index 627b7fd84a6..044be0f5b95 100644
--- a/plugin/file_key_management/parser.h
+++ b/plugin/file_key_management/parser.h
@@ -23,6 +23,7 @@ Created 09/15/2014
#include <my_crypt.h>
#include <ctype.h>
#include <map>
+#include <stdlib.h> /* size_t */
struct keyentry {
unsigned int id;
@@ -43,7 +44,7 @@ class Parser
unsigned char *key, unsigned char *iv);
bool read_filekey(const char *filekey, char *secret);
bool parse_file(std::map<unsigned int ,keyentry> *keys, const char *secret);
- void report_error(const char *reason, unsigned int position);
+ void report_error(const char *reason, size_t position);
int parse_line(char **line_ptr, keyentry *key);
char* read_and_decrypt_file(const char *secret);