Whamcloud - gitweb
LU-12513 utils: change cy_valueint to 64 bits
[fs/lustre-release.git] / lnet / include / cyaml.h
index c9c21c7..c624f62 100644 (file)
@@ -18,7 +18,7 @@
  *
  * LGPL HEADER END
  *
- * Copyright (c) 2014, Intel Corporation.
+ * Copyright (c) 2014, 2017, Intel Corporation.
  *
  * Author:
  *   Amir Shehata <amir.shehata@intel.com>
@@ -27,6 +27,7 @@
 #ifndef CYAML_H
 #define CYAML_H
 
+#include <inttypes.h>
 #include <stdbool.h>
 
 enum cYAML_object_type {
@@ -51,7 +52,7 @@ struct cYAML {
        /* The item's string, if type==CYAML_TYPE_STRING */
        char *cy_valuestring;
        /* The item's number, if type==CYAML_TYPE_NUMBER */
-       int cy_valueint;
+       int64_t cy_valueint;
        /* The item's number, if type==CYAML_TYPE_NUMBER */
        double cy_valuedouble;
        /* The item's name string, if this item is the child of,