typedef char POOLMEM;
#define mp_chr(x) x
-#ifdef xxxxx
+#ifdef xxxxx
#define mp_chr(x) ((char*)(x))
-struct POOLMEM {
- POOLMEM() {}
- operator const char*() const { return (char *)this; }
+class POOLMEM {
+public:
+ POOLMEM();
+ operator char * const() { return this; }
};
#endif
#define uintmax_t u_intmax_t
/* Bacula time -- Unix time with microseconds */
-#define btime_t uint64_t
+#define btime_t int64_t
/* Unix time (time_t) widened to 64 bits */
#define utime_t int64_t