mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
a14da88b51
the result binaries. - Fix build on head after byacc 20130304.
24 lines
1.1 KiB
C++
24 lines
1.1 KiB
C++
--- bin/dhcomp/dhcomp.cc.orig 2013-06-16 10:59:39.000000000 +0900
|
|
+++ bin/dhcomp/dhcomp.cc 2013-06-16 11:00:26.000000000 +0900
|
|
@@ -315,14 +315,14 @@
|
|
memcpy(&pSharedKey[iSharedKeyLen - l], pSharedKeyStock, l);
|
|
|
|
#ifdef TAHI
|
|
- printf("log:DHComp_Results (length:%i)\n",
|
|
- xflag? iSharedKeyLen: strlen(pSharedKey));
|
|
- printf("log:| Shared_Key (length:%i)\n",
|
|
- xflag? iSharedKeyLen: strlen(pSharedKey));
|
|
+ printf("log:DHComp_Results (length:%zu)\n",
|
|
+ xflag? (size_t)iSharedKeyLen: strlen(pSharedKey));
|
|
+ printf("log:| Shared_Key (length:%zu)\n",
|
|
+ xflag? (size_t)iSharedKeyLen: strlen(pSharedKey));
|
|
xflag? xPrintResult(pSharedKey): PrintResult(pSharedKey);
|
|
#else // TAHI
|
|
- printf("log:DHComp_Results (length:%i)\n", strlen(pSharedKey));
|
|
- printf("log:| Shared_Key (length:%i)\n", strlen(pSharedKey));
|
|
+ printf("log:DHComp_Results (length:%zu)\n", strlen(pSharedKey));
|
|
+ printf("log:| Shared_Key (length:%zu)\n", strlen(pSharedKey));
|
|
PrintResult(pSharedKey);
|
|
#endif // TAHI
|
|
|