[Y-devel] (size_t == int)?

Andrew A. Gill superluser at frontiernet.net
Fri Feb 20 13:28:48 GMT 2004


I'm trying to compile Y on a DEC Alpha
(ev56, 2.6.2, GCC 3.3, poofy party hats)

and having the following problem:

        yctl.c: In function `main':
        yctl.c:56: warning: field precision is not type int
        (arg 2)

Indeed, arg 2 is of type size_t.

I suppose all that you need to do is add the following line
(say, right after line 50):

        int q = s;

and change line 56, arg 2 to q.

but that's just a workaround.  Is there a better way?

-- 
|Andrew A. Gill                       |I posted to Silent-Tristero and|
|<superluser at frontiernet.net>         |all I got was this stupid sig! |
|alt.tv.simpsons CBG-FAQ author       |                               |
|                          (Report all obscene mail to Le Maitre Pots)|
|Yet: <https://www.needsfoodbadly.com>                 Temporary sig: --

Thankayew.



More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved