summaryrefslogtreecommitdiff
path: root/textproc/mifluz/files/patch-db-db_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/mifluz/files/patch-db-db_int.h')
-rw-r--r--textproc/mifluz/files/patch-db-db_int.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/mifluz/files/patch-db-db_int.h b/textproc/mifluz/files/patch-db-db_int.h
new file mode 100644
index 000000000000..5df5bd529e27
--- /dev/null
+++ b/textproc/mifluz/files/patch-db-db_int.h
@@ -0,0 +1,11 @@
+--- ./db/db_int.h.orig 2013-01-16 13:43:03.627123979 +0800
++++ ./db/db_int.h 2013-01-16 13:49:17.653734397 +0800
+@@ -108,7 +108,7 @@
+ * an array.
+ */
+ #undef SSZ
+-#define SSZ(name, field) ((int)&(((name *)0)->field))
++#define SSZ(name, field) ((size_t)&(((name *)0)->field))
+
+ #undef SSZA
+ #define SSZA(name, field) ((long)&(((name *)0)->field[0]))