www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/10/22/06:25:09

Sender: vheyndri AT rug DOT ac DOT be
Message-Id: <344DD3D5.B3D@rug.ac.be>
Date: Wed, 22 Oct 1997 12:22:13 +0200
From: Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>
Mime-Version: 1.0
To: djgpp workers <djgpp-workers AT delorie DOT com>
Subject: libc & -Wsign-compare

In my effort to modify int to unsigned, I encountered following
problematic expression in fwrite.c

--f->_cnt > -f->_bufsiz

I don't understand this, and since understanding is quite important in
doing these changes, could someone please inlighten me what this
expression actually means:

f->_cnt-1 > -f->_bufsiz

Tx.

-- 
+----------------+
| Vik Heyndrickx |
+----------------+

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019