threads / discuss / 3685

Signed char assumption..

Subject: Signed char assumption..

## tl;dr

One message between Mar 20, 2006 and Mar 20, 2006.

replies: 0people: 1as markdown or json

Linus Torvalds· Mar 20, 2006, 19:20 UTC · lore
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

← back to recent threads