Jump to content
  • 0
ellandson

Source Warning and compile.

Question

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;
Edited by ellandson

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.