summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-05-31 21:53:42 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-05-31 21:53:42 +0000
commit6dc6665e299d1d37da6fab0551f27667c1ad6c73 (patch)
tree735047b52519f8c7a14e11bc3b540e1d6f0c6f7e /lib
parent6fb568f77e6766871ad07b3b206571e96b56dfb5 (diff)
downloadllvm-6dc6665e299d1d37da6fab0551f27667c1ad6c73.tar.gz
llvm-6dc6665e299d1d37da6fab0551f27667c1ad6c73.tar.bz2
llvm-6dc6665e299d1d37da6fab0551f27667c1ad6c73.tar.xz
Squelch this warning:
/bzlib.c:126: warning: string length `1056' is greater than the length `509' ISO C89 compilers are required to support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Support/bzip2/bzlib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Support/bzip2/bzlib.c b/lib/Support/bzip2/bzlib.c
index ab35929017..ff3cd16158 100644
--- a/lib/Support/bzip2/bzlib.c
+++ b/lib/Support/bzip2/bzlib.c
@@ -108,6 +108,8 @@ void BZ2_bz__AssertH__fail ( int errcode )
"memory reads/writes, and so acts (unintendedly) as a stress\n"
"test of your memory system.\n"
"\n"
+ );
+ fprintf(stderr,
"I suggest the following: try compressing the file again,\n"
"possibly monitoring progress in detail with the -vv flag.\n"
"\n"
@@ -118,6 +120,8 @@ void BZ2_bz__AssertH__fail ( int errcode )
" Memtest86 tests memory much more thorougly than your BIOSs\n"
" power-on test, and may find failures that the BIOS doesn't.\n"
"\n"
+ );
+ fprintf(stderr,
"* If the error can be repeatably reproduced, this is a bug in\n"
" bzip2, and I would very much like to hear about it. Please\n"
" let me know, and, ideally, save a copy of the file causing the\n"