summaryrefslogtreecommitdiffstats
path: root/third_party/libxml
diff options
context:
space:
mode:
authorscottmg <scottmg@chromium.org>2015-06-23 18:25:26 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-24 01:27:31 +0000
commitd31995076e55f1aac2f935c53b585a90ece27a11 (patch)
treec73844706d598efa318fa24197b543519375e308 /third_party/libxml
parenta38832be9fef269ae1f3a191a9b69432aaf680c4 (diff)
downloadchromium_src-d31995076e55f1aac2f935c53b585a90ece27a11.zip
chromium_src-d31995076e55f1aac2f935c53b585a90ece27a11.tar.gz
chromium_src-d31995076e55f1aac2f935c53b585a90ece27a11.tar.bz2
Another attempt at fixing incorrect libxml fprintf, affecting clang win x64
Previous attempt https://codereview.chromium.org/1204813002. R=thakis@chromium.org BUG=https://bugzilla.gnome.org/show_bug.cgi?id=751410 BUG=82385 Review URL: https://codereview.chromium.org/1207553002 Cr-Commit-Position: refs/heads/master@{#335844}
Diffstat (limited to 'third_party/libxml')
-rw-r--r--third_party/libxml/src/timsort.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/libxml/src/timsort.h b/third_party/libxml/src/timsort.h
index efa3aab..6e414c4 100644
--- a/third_party/libxml/src/timsort.h
+++ b/third_party/libxml/src/timsort.h
@@ -323,7 +323,7 @@ static void TIM_SORT_RESIZE(TEMP_STORAGE_T *store, const size_t new_size)
SORT_TYPE *tempstore = (SORT_TYPE *)realloc(store->storage, new_size * sizeof(SORT_TYPE));
if (tempstore == NULL)
{
- fprintf(stderr, "Error allocating temporary storage for tim sort: need %lu bytes", sizeof(SORT_TYPE) * new_size);
+ fprintf(stderr, "Error allocating temporary storage for tim sort: need %llu bytes", (unsigned long long)(sizeof(SORT_TYPE) * new_size));
exit(1);
}
store->storage = tempstore;