[Box Backup-dev] Re: [Box Backup-commit] COMMIT r1722 - box/chris/merge/lib/server

Martin Ebourne boxbackup-dev at fluffy.co.uk
Thu Jul 5 00:03:17 BST 2007


On Wed, 2007-07-04 at 19:23 +0100, subversion at fluffy.co.uk wrote:
> Make char signed to fix getopt usage on ARM and PowerPC, thanks to TBP and
> Reinhard Tartler (refs #3, see
> http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003614.html)
> 
> 
> Modified: box/chris/merge/lib/server/Daemon.cpp
> ===================================================================
> --- box/chris/merge/lib/server/Daemon.cpp	2007-07-03 21:18:03 UTC (rev 1721)
> +++ box/chris/merge/lib/server/Daemon.cpp	2007-07-04 18:23:24 UTC (rev 1722)
> @@ -110,7 +110,7 @@
>  	int masterLevel = Log::INFO; // need an int to do math with
>  	#endif
>  
> -	char c;
> +	signed char c;

getopt returns int, not char or signed char.

Cheers,

Martin.




More information about the Boxbackup-dev mailing list