after adding a custom class I'm getting a Warning to compile.
itemdb.c: In function ‘itemdb_jobmask2mapid’:
itemdb.c:542:20: warning: left shift count >= width of type [-Wshift-count-overflow]
bclass[0] |= 1ULL<<MAPID_DORAM;
itemdb.c
if (jobmask & 1ULL<<30) //Rebellion
bclass[1] |= 1ULL<<MAPID_GUNSLINGER;
if (jobmask & 1ULL<<31)
bclass[0] |= 1ULL<<MAPID_DORAM;
after adding a custom class I'm getting a Warning to compile.
itemdb.c
Edited by ellandsonShare this post
Link to post
Share on other sites