Pārlūkot izejas kodu

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

bzt 5 gadi atpakaļ
vecāks
revīzija
60e9157699
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      code/M3D/M3DMaterials.h

+ 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.
  * only once. D.R.Y. and K.I.S.S.
  */
  */
 typedef struct {
 typedef struct {
-    char *pKey;
+    const char *pKey;
     unsigned int type;
     unsigned int type;
     unsigned int index;
     unsigned int index;
 } aiMatProp;
 } aiMatProp;