Changeset: 377527ad55b5 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=377527ad55b5 Modified Files: NT/monetdb_config.h.in Branch: Oct2014 Log Message:
Windows now does have the %p format in printf. diffs (16 lines): diff --git a/NT/monetdb_config.h.in b/NT/monetdb_config.h.in --- a/NT/monetdb_config.h.in +++ b/NT/monetdb_config.h.in @@ -1076,10 +1076,7 @@ typedef __int64 lng; #error no definition for PDFMT #endif -/* On Windows, always use 64 bit integers (even on 32-bit architectures) - * to not get the warning C4311: 'type cast' : pointer truncation from - * 'void *' to 'unsigned int' */ -#define PTRFMT "%I64x" -#define PTRFMTCAST (unsigned __int64) +#define PTRFMT "%p" +#define PTRFMTCAST #endif /* _SEEN_MONETDB_CONFIG_H */ _______________________________________________ checkin-list mailing list [email protected] https://www.monetdb.org/mailman/listinfo/checkin-list
