Skip to content

Conversation

@atupone
Copy link
Contributor

@atupone atupone commented Sep 30, 2023

No description provided.

@@ -116,7 +123,7 @@
{
logDebugMessage(0,":");
for (i = 0; i < vertexCount; i++)
logDebugMessage(0," %i", (int)((afvec3*)vertices[i] - mesh->getVertices()));
logDebugMessage(0," %i", vertices[i] - mesh->getVertices());

Check failure

Code scanning / CodeQL

Wrong type of arguments to formatting function High

This format specifier for type 'int' does not match the argument type 'long'.
@@ -150,28 +154,30 @@
{
logDebugMessage(0,":");
for (i = 0; i < vertexCount; i++)
logDebugMessage(0," %i", (int)((afvec3*)vertices[i] - mesh->getVertices()));
logDebugMessage(0," %i", vertices[i] - mesh->getVertices());

Check failure

Code scanning / CodeQL

Wrong type of arguments to formatting function High

This format specifier for type 'int' does not match the argument type 'long'.
if (fabsf(cross + plane[3]) > 1.0e-3)
{
logDebugMessage(1,"non-planar mesh face (%f)", cross + plane[3]);
if ((debugLevel >= 3) && (mesh != NULL))
{
logDebugMessage(0,":");
for (i = 0; i < vertexCount; i++)
logDebugMessage(0," %i", (int)((afvec3*)vertices[i] - mesh->getVertices()));
logDebugMessage(0," %i", vertices[i] - mesh->getVertices());

Check failure

Code scanning / CodeQL

Wrong type of arguments to formatting function High

This format specifier for type 'int' does not match the argument type 'long'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant