1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-25 09:21:36 +01:00

Merge pull request #150 from pacheco017/unity-float-verbose-includes

Include <stdio.h> (for sprintf) when using UNITY_FLOAT_VERBOSE (thanks pacheco017!)
This commit is contained in:
Mark VanderVoord
2015-12-28 13:17:28 -05:00

View File

@@ -285,7 +285,7 @@ void UnityPrintMask(const _U_UINT mask, const _U_UINT number)
//----------------------------------------------- //-----------------------------------------------
#ifdef UNITY_FLOAT_VERBOSE #ifdef UNITY_FLOAT_VERBOSE
#include <string.h> #include <stdio.h>
void UnityPrintFloat(_UF number) void UnityPrintFloat(_UF number)
{ {
char TempBuffer[32]; char TempBuffer[32];