git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Signed char assumption..
@ 2006-03-20 19:20 Linus Torvalds
  0 siblings, 0 replies; only message in thread
From: Linus Torvalds @ 2006-03-20 19:20 UTC (permalink / raw)
  To: Junio C Hamano, Git Mailing List


On ppc, I now get:

  http-push.c: In function 'add_fetch_request':
  http-push.c:831: warning: comparison is always false due to limited range of data type
  http-push.c: In function 'add_send_request':
  http-push.c:864: warning: comparison is always false due to limited range of data type

because the code assumes that "char" is signed and can take a -1. 

		Linus

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-20 19:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-20 19:20 Signed char assumption Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).