Fix mismatched type problem that crashed on cases like this:
authorChris Lattner <sabre@nondot.org>
Fri, 20 May 2005 22:22:25 +0000 (22:22 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 20 May 2005 22:22:25 +0000 (22:22 +0000)
commit937513599951540cfa01fe9c3d9ed60f19b2bf00
tree01b21966a6fac81723586df1d850b4333c7286d4
parent42eb7524ef3a994f184924e583871406cf5d1ed6
Fix mismatched type problem that crashed on cases like this:

  sprintf(P, "%s", X);

Where X is not an sbyte*.  This fixes the bug JohnMC reported on llvm-bugs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22159 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/SimplifyLibCalls.cpp