Skip to content

Commit

Permalink
Fixes type of function pointers in Squeak3D plugin from sqInt to void…
Browse files Browse the repository at this point in the history
…* to avoid -Wint-conversion error during compilation
  • Loading branch information
marceltaeumel committed Oct 27, 2022
1 parent a01e773 commit 957d7b8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/plugins/Squeak3D/Squeak3D.c
@@ -1,9 +1,9 @@
/* Automatically generated by
VMPluginCodeGenerator VMMaker.oscog-eem.3166 uuid: bda1c176-bedf-4490-bb95-90d3851c1526
VMPluginCodeGenerator VMMaker.oscog-mt.3257 uuid: 46b7a9f9-e462-244d-938d-d1ceecfc949c
from
B3DEnginePlugin Balloon3D-Plugins-eem.18 uuid: 8cff7f2d-66ef-40f3-8420-6eccfb73e8df
B3DEnginePlugin Balloon3D-Plugins-mt.19 uuid: 0e8c176a-979a-4f4f-b505-c168588482e5
*/
static char __buildInfo[] = "B3DEnginePlugin Balloon3D-Plugins-eem.18 uuid: 8cff7f2d-66ef-40f3-8420-6eccfb73e8df " __DATE__ ;
static char __buildInfo[] = "B3DEnginePlugin Balloon3D-Plugins-mt.19 uuid: 0e8c176a-979a-4f4f-b505-c168588482e5 " __DATE__ ;


#include "config.h"
Expand Down Expand Up @@ -202,7 +202,7 @@ static void* vbLoadArraysize(sqInt oop, sqInt count);

/*** Variables ***/
static char bbPluginName[256] = "BitBltPlugin";
static sqInt copyBitsFn;
static void * copyBitsFn;

#if !defined(SQUEAK_BUILTIN_PLUGIN)
static sqInt (*booleanValueOf)(sqInt obj);
Expand Down Expand Up @@ -275,8 +275,8 @@ static double l2vDirection[3];
static double l2vSpecDir[3];
static sqInt lightFlags;
static float* litVertex;
static sqInt loadBBFn;
static const char *moduleName = "Squeak3D Balloon3D-Plugins-eem.18 " INT_EXT;
static void * loadBBFn;
static const char *moduleName = "Squeak3D Balloon3D-Plugins-mt.19 " INT_EXT;
static float* primLight;
static float* primMaterial;
static sqInt vbFlags;
Expand Down

1 comment on commit 957d7b8

@krono
Copy link
Member

@krono krono commented on 957d7b8 Oct 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.