change uiButGetStrInfo() to use a trailing NULL arg rather then passing the number of args as an arg.

This commit is contained in:
2012-12-02 04:51:15 +00:00
parent 9865ee7637
commit f7f4148b40
8 changed files with 26 additions and 17 deletions

View File

@@ -302,7 +302,7 @@ int EXPP_FloatsAreEqual(float af, float bf, int maxDiff)
/*---------------------- EXPP_VectorsAreEqual -------------------------
* Builds on EXPP_FloatsAreEqual to test vectors */
int EXPP_VectorsAreEqual(float *vecA, float *vecB, int size, int floatSteps)
int EXPP_VectorsAreEqual(const float *vecA, const float *vecB, int size, int floatSteps)
{
int x;
for (x = 0; x < size; x++) {