mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@36997 d073be05-634f-4543-b044-5fe20cf6d1d6
12 lines
523 B
Diff
12 lines
523 B
Diff
--- examples/variant.c 2003-03-24 09:48:21.000000000 +0100
|
|
+++ examples/variant.c 2008-05-13 17:01:12.000000000 +0200
|
|
@@ -60,7 +60,7 @@
|
|
* Now we'll try our hand at base64 binary manipulation.
|
|
*/
|
|
|
|
- fprintf(stdout, "\nSetting attribute 'binary_b64' to a %d byte buffer.\n\n", sizeof(binary) - 1);
|
|
+ fprintf(stdout, "\nSetting attribute 'binary_b64' to a %i byte buffer.\n\n", (int)(sizeof(binary) - 1));
|
|
|
|
domElementSetAttributeVariant(element, "binary_b64", VARIANT_TYPE_BINARY_B64, binary, sizeof(binary) - 1);
|
|
|