Jump to content
  • 0
Sign in to follow this  
irugationz

Compiling - Possible Loss of Data

Question

When I Recompile, it shows a lot of messages like "e:\hercules\1 emulator\src\map\clif.c(1985): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data", but all rebuilds are succeeded.


Is there any problem with that, or i just have to ignore it?
 
How can i fix that?
 
Thanks!

 

[cbox]1>------ Rebuild All started: Project: char-server, Configuration: Debug Win32 ------
2>------ Rebuild All started: Project: login-server, Configuration: Debug Win32 ------
3>------ Rebuild All started: Project: mapcache, Configuration: Debug Win32 ------
4>------ Rebuild All started: Project: map-server, Configuration: Debug Win32 ------
3> core.c
3> console.c
3> des.c
4> grammar.c
2> grammar.c
3> grfio.c
1> grammar.c
1> libconfig.c
2> libconfig.c
4> libconfig.c
1> scanctx.c
2> scanctx.c
1> scanner.c
3> memmgr.c
4> scanctx.c
2> scanner.c
4> scanner.c
3> showmsg.c
3> strlib.c
1> strbuf.c
2> strbuf.c
4> strbuf.c
4> mt19937ar.c
2> des.c
3> sysinfo.c
1> mt19937ar.c
2> mutex.c
4> conf.c
1> conf.c
3> utils.c
2> thread.c
1> core.c
4> core.c
4> console.c
1> console.c
2> account_sql.c
3> nullpo.c
2> HPMlogin.c
1> db.c
4> db.c
4> des.c
1> des.c
3> mapcache.c
1> ers.c
4> ers.c
2> ipban_sql.c
2> login.c
4> grfio.c
1> HPM.c
1> memmgr.c
4> HPM.c
1> mapindex.c
1> mutex.c
2> loginlog_sql.c
4> memmgr.c
2> conf.c
4> mapindex.c
1> nullpo.c
4> md5calc.c
4> mutex.c
1> random.c
1> showmsg.c
4> nullpo.c
2> core.c
2> console.c
4> random.c
4> showmsg.c
1> socket.c
2> db.c
1> sql.c
1> strlib.c
4> socket.c
2> ers.c
4> sql.c
1> sysinfo.c
2> HPM.c
4> strlib.c
4> sysinfo.c
1> thread.c
2> memmgr.c
2> md5calc.c
2> nullpo.c
4> thread.c
2> random.c
2> showmsg.c
2> socket.c
1> timer.c
4> timer.c
1> utils.c
1> HPMchar.c
4> utils.c
1> char.c
4> atcommand.c
2> sql.c
2> strlib.c
4> battle.c
2> sysinfo.c
1> geoip.c
4> battleground.c
1> int_auction.c
2> timer.c
4> buyingstore.c
2> utils.c
1> int_elemental.c
2> mt19937ar.c
1> int_guild.c
1> int_homun.c
1> int_mail.c
1> int_mercenary.c
4> channel.c
1> int_party.c
4> chat.c
1> int_pet.c
1> int_quest.c
4> chrif.c
1> int_storage.c
2> Creating library ..\login-server.lib and object ..\login-server.exp
1> inter.c
4> clif.c
4> date.c
3> mapcache.vcxproj -> E:\HERCULES\1 EMULATOR\vcproj-14\..\mapcache.exe
5>------ Rebuild All started: Project: plugin-sample, Configuration: Debug Win32 ------
4> duel.c
4>e:\hercules\1 emulator\src\map\channel.c(649): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned char', possible loss of data
4> elemental.c
4>e:\hercules\1 emulator\src\map\clif.c(1985): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(2104): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(3639): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(3676): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(5510): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(5540): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(5595): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(5626): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(5643): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(5829): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4> guild.c
4>e:\hercules\1 emulator\src\map\clif.c(7969): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(8226): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(8256): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(8587): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(8595): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(8995): warning C4267: '=': conversion from 'size_t' to 'unsigned short', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(9029): warning C4267: '=': conversion from 'size_t' to 'unsigned short', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(9841): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(9850): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
5> sample.c
1> loginif.c
4>e:\hercules\1 emulator\src\map\clif.c(14675): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
1> mapif.c
1> pincode.c
4> intif.c
4>e:\hercules\1 emulator\src\map\clif.c(16105): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\clif.c(17640): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4> irc-bot.c
4> itemdb.c
4>e:\hercules\1 emulator\src\map\intif.c(170): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\intif.c(200): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\intif.c(250): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4>e:\hercules\1 emulator\src\map\intif.c(290): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4> log.c
4>e:\hercules\1 emulator\src\map\intif.c(668): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data
4> mail.c
4> map.c
4> mapreg_sql.c
4> homunculus.c
4> HPMmap.c
4> instance.c
4> mercenary.c
2> login-server.vcxproj -> E:\HERCULES\1 EMULATOR\vcproj-14\..\login-server.exe
4> mob.c
6>------ Rebuild All started: Project: plugin-HPMHooking_map, Configuration: Debug Win32 ------
4> npc.c
4> npc_chat.c
4> party.c
4> path.c
4> pc.c
4> pc_groups.c
4> pet.c
6> HPMHooking.c
4> quest.c
4> script.c
1> Creating library ..\char-server.lib and object ..\char-server.exp
4> searchstore.c
4> skill.c
4> status.c
4> storage.c
4> trade.c
4> unit.c
4> vending.c
1> char-server.vcxproj -> E:\HERCULES\1 EMULATOR\vcproj-14\..\char-server.exe
7>------ Rebuild All started: Project: plugin-HPMHooking_char, Configuration: Debug Win32 ------
5> Creating library plugin-sample\Debug\sample.lib and object plugin-sample\Debug\sample.exp
7> HPMHooking.c
4> Creating library ..\map-server.lib and object ..\map-server.exp
5> plugin-sample.vcxproj -> E:\HERCULES\1 EMULATOR\vcproj-14\..\plugins\sample.dll
8>------ Rebuild All started: Project: plugin-HPMHooking_login, Configuration: Debug Win32 ------
7> Creating library plugin-HPMHooking_char\Debug\HPMHooking_char.lib and object plugin-HPMHooking_char\Debug\HPMHooking_char.exp
8> HPMHooking.c
7> plugin-HPMHooking_char.vcxproj -> E:\HERCULES\1 EMULATOR\vcproj-14\..\plugins\HPMHooking_char.dll
8> Creating library plugin-HPMHooking_login\Debug\HPMHooking_login.lib and object plugin-HPMHooking_login\Debug\HPMHooking_login.exp
4> map-server.vcxproj -> E:\HERCULES\1 EMULATOR\vcproj-14\..\map-server.exe
6> Creating library plugin-HPMHooking_map\Debug\HPMHooking_map.lib and object plugin-HPMHooking_map\Debug\HPMHooking_map.exp
8> plugin-HPMHooking_login.vcxproj -> E:\HERCULES\1 EMULATOR\vcproj-14\..\plugins\HPMHooking_login.dll
6> plugin-HPMHooking_map.vcxproj -> E:\HERCULES\1 EMULATOR\vcproj-14\..\plugins\HPMHooking_map.dll
========== Rebuild All: 8 succeeded, 0 failed, 0 skipped ==========
[/cbox]

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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