Jump to content
  • 0

Changeset 17065


Kloshke

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   0
  • Joined:  12/08/12
  • Last Seen:  

I just updated to Changeset 17065. After I recompiled I got the following warnings. There are no errors though. What do these warnings mean and how do I fix them?


clif.c: In function ‘clif_skill_produce_mix_list’:
clif.c:5260: warning: comparison is always false due to limited range of data type
CC pc.c
pc.c: In function ‘pc_checkskill’:
pc.c:4885: warning: comparison is always false due to limited range of data type
pc.c: In function ‘pc_skillup’:
pc.c:5979: warning: comparison is always false due to limited range of data type
CC status.c
CC npc.c
CC npc_chat.c
CC chat.c
CC path.c
CC itemdb.c
CC mob.c
CC script.c
script.c: In function ‘buildin_searchitem’:
script.c:15035: warning: cast to pointer from integer of different size
script.c: In function ‘buildin_pushpc’:
script.c:16702: warning: comparison is always false due to limited range of data type
CC storage.c
CC skill.c
skill.c: In function ‘skill_additional_effect’:
skill.c:727: warning: comparison is always false due to limited range of data type
skill.c: In function ‘skill_counter_additional_effect’:
skill.c:1749: warning: comparison is always false due to limited range of data type
skill.c: In function ‘skill_attack’:
skill.c:2237: warning: comparison is always false due to limited range of data type
skill.c: In function ‘skill_castend_nodamage_id’:
skill.c:6664: warning: comparison is always true due to limited range of data type
skill.c:6715: warning: comparison is always true due to limited range of data type
skill.c:6731: warning: comparison is always true due to limited range of data type
skill.c: In function ‘skill_castend_id’:
skill.c:9238: warning: comparison is always true due to limited range of data type
skill.c: In function ‘skill_castend_pos’:
skill.c:9496: warning: comparison is always true due to limited range of data type
skill.c: In function ‘skill_get_requirement’:
skill.c:13591: warning: comparison is always false due to limited range of data type
skill.c:13591: warning: comparison is always true due to limited range of data type
CC atcommand.c
atcommand.c: In function ‘atcommand_questskill’:
atcommand.c:3174: warning: comparison is always false due to limited range of data type
atcommand.c: In function ‘atcommand_lostskill’:
atcommand.c:3218: warning: comparison is always false due to limited range of data type
CC battle.c
CC battleground.c
CC intif.c
CC trade.c
CC party.c
CC vending.c
CC guild.c
CC pet.c
CC log.c
CC mail.c
CC date.c
CC unit.c
unit.c: In function ‘unit_skilluse_id’:
unit.c:869: warning: comparison is always false due to limited range of data type
unit.c: In function ‘unit_skilluse_pos’:
unit.c:1366: warning: comparison is always false due to limited range of data type
unit.c: In function ‘unit_calc_pos’:
unit.c:1683: warning: comparison is always false due to limited range of data type

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

This has already been fixed. See bugreport:7074.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...