pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/merkletree/files



Module Name:    pkgsrc
Committed By:   agc
Date:           Wed May 31 23:21:06 UTC 2017

Modified Files:
        pkgsrc/security/merkletree/files: libmerkle.c

Log Message:
make sure __UNCONST is defined before using it


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/security/merkletree/files/libmerkle.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/merkletree/files/libmerkle.c
diff -u pkgsrc/security/merkletree/files/libmerkle.c:1.1.1.1 pkgsrc/security/merkletree/files/libmerkle.c:1.2
--- pkgsrc/security/merkletree/files/libmerkle.c:1.1.1.1        Wed Mar  5 05:19:25 2014
+++ pkgsrc/security/merkletree/files/libmerkle.c        Wed May 31 23:21:06 2017
@@ -38,6 +38,10 @@
 
 #define MERKLETREE_MAX_ROWS    16
 
+#ifndef __UNCONST
+#define __UNCONST(a)   ((void *)(unsigned long)(const void *)(a))
+#endif
+
 /* a row of digests in a merkle tree */
 typedef struct merkletree_row_t {
        uint64_t         outc;          /* # of output bytes */



Home | Main Index | Thread Index | Old Index