Le Wed, 9 Sep 2009 14:28:05 +0300,
Eddy Petrișor <eddy.petri...@gmail.com> a écrit :

> 2009/9/8 Matthieu Fertré <matthieu.fer...@free.fr>:
> > This commit breaks the build of the game server since port is an
> > unsigned int and not a string in this context.
> 
> The change contains this change, too:
> port.c_str(), port.c_str()
> 
> instead of:
> port, port
> 
> Maybe I am missing something, but this *looks* correct.

port is a unsigned int, calling c_str() is not expected to work. And
using %s on a unsigned int builds but is not expected to work too. The
uint would be handled as a char* in such case.

Anyway, lynxlynxlynx has fixed it in r 6500 :)



> 
> > Jaka Kranjc a écrit :
> >> Author: lynxlynxlynx
> >> Date: Tue Sep  8 13:48:52 2009
> >> New Revision: 6495
> >>
> >> URL: http://svn.gna.org/viewcvs/wormux?rev=6495&view=rev
> >> Log:
> >> changed a string in the game server, so it matches the one in the
> >> client
> 
> 


_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à