git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Signed char assumption..

From
Linus Torvalds <torvalds@osdl.org>
Date
Mar 20, 2006, 19:20 UTC
Message-ID
<Pine.LNX.4.64.0603201119020.3622@g5.osdl.org>
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
Message 1 of 1 in “Signed char assumption..”
  1. Linus TorvaldsMar 20, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.