2
0
Эх сурвалжийг харах

Fixed AI_MATKEY list string constant issue. My gcc didn't comply about this

bzt 5 жил өмнө
parent
commit
60e9157699

+ 1 - 1
code/M3D/M3DMaterials.h

@@ -54,7 +54,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  * only once. D.R.Y. and K.I.S.S.
  */
 typedef struct {
-    char *pKey;
+    const char *pKey;
     unsigned int type;
     unsigned int index;
 } aiMatProp;