1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/textproc/mifluz/files/patch-db-db_int.h
Steve Wills 061eac8187 - Update to 0.25.0
- Assign maintainership to submitter
- Unify patch nameing
- Add LICENSE and USE_GCC knob

PR:		ports/175345
Submitted by:	Po-Chien Lin <linpc@cs.nctu.edu.tw>
2013-01-20 22:53:41 +00:00

12 lines
352 B
C

--- ./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]))