Menu

#4 x64 + gcc 4.x - build error in Between

open
nobody
None
5
2009-03-28
2009-03-28
Anonymous
No

WebRequest.cpp:292: error: cast from `char*, to `int, loses precision

Solution:
Change
- ( (int)contentStart - (int)responseString );
to
- (int)(contentStart - responseString);

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.