Source Warning and compile.

ellandson

New member
Messages
27
Points
0
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

Code:
	if (jobmask & 1ULL<<30) //Rebellion
		bclass[1] |= 1ULL<<MAPID_GUNSLINGER;
	if (jobmask & 1ULL<<31)
		bclass[0] |= 1ULL<<MAPID_DORAM;
 
Last edited by a moderator:
what's the value of MAPID_DORAM?

 
Back
Top