]> git.stg.codes - stg.git/blobdiff - include/stg/service_conf.h
Fix service payDay type for correct work on 32/64-bit
[stg.git] / include / stg / service_conf.h
index 5f015d0b4fe05429ec6279712696c1d82397f915..ef487f8ee78a41e624191930dd12660604dc0257 100644 (file)
@@ -3,6 +3,8 @@
 
 #include <string>
 
+#include "os_int.h"
+
 struct SERVICE_CONF
 {
 SERVICE_CONF()
@@ -25,7 +27,7 @@ SERVICE_CONF(const std::string & n, double c,
 std::string name;
 std::string comment;
 double      cost;
-unsigned    payDay;
+uint8_t     payDay;
 };
 
 inline