Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Type conversion warnings  (Read 1507 times)

0 Members and 1 Guest are viewing this topic.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Type conversion warnings
« on: April 11, 2014, 09:03:47 am »
When I was building SFML for the Nightly Builds, I ran into the following warnings. I think most of the are only related to x64 builds and I'm not sure if we change the stb_image code, but here we go:

SFML\src\SFML\Network\Packet.cpp(408) : warning C4267: 'Initialisierung': possible loss of data 'size_t' to 'sf::Uint32', possible loss of data
SFML\src\SFML\Network\Packet.cpp(437) : warning C4267: 'Initialisierung': possible loss of data 'size_t' to 'sf::Uint32', possible loss of data
SFML\src\SFML/Graphics/stb_image/stb_image.h(760) : warning C4244: 'Initialisierung': possible loss of data '__int64' to 'int', possible loss of data
SFML\src\SFML/Graphics/stb_image/stb_image.h(773) : warning C4244: 'Initialisierung': possible loss of data '__int64' to 'int', possible loss of data
SFML\src\SFML/Graphics/stb_image/stb_image_write.h(321) : warning C4244: 'Initialisierung': possible loss of data '__int64' to 'int', possible loss of data
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Type conversion warnings
« Reply #1 on: April 11, 2014, 09:10:35 am »
No, I don't touch stb_image. The sf::Packet warnings will be easily fixed.

Thanks :)
Laurent Gomila - SFML developer