diff options
author | 2016-05-09 19:32:01 +0000 | |
---|---|---|
committer | 2016-05-09 19:32:01 +0000 | |
commit | 695f0d7b659472781a453feef78606ba9593cb2a (patch) | |
tree | 74bd6685041cd9a2da5057f55d4d2d1896da373a /lib/libexpat/examples/elements.c | |
parent | need to use shadow passwd function here, reminded by sthen (diff) | |
download | wireguard-openbsd-695f0d7b659472781a453feef78606ba9593cb2a.tar.xz wireguard-openbsd-695f0d7b659472781a453feef78606ba9593cb2a.zip |
update libexpat to 2.1.1.
ok deraadt@ (thanks to sebastian[@]pipping[.]org for information).
Diffstat (limited to 'lib/libexpat/examples/elements.c')
-rw-r--r-- | lib/libexpat/examples/elements.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libexpat/examples/elements.c b/lib/libexpat/examples/elements.c index 6b8f85501b6..bc04b6b1515 100644 --- a/lib/libexpat/examples/elements.c +++ b/lib/libexpat/examples/elements.c @@ -50,7 +50,7 @@ main(int argc, char *argv[]) XML_SetUserData(parser, &depth); XML_SetElementHandler(parser, startElement, endElement); do { - int len = (int)fread(buf, 1, sizeof(buf), stdin); + size_t len = fread(buf, 1, sizeof(buf), stdin); done = len < sizeof(buf); if (XML_Parse(parser, buf, len, done) == XML_STATUS_ERROR) { fprintf(stderr, |