Subject: slchi gcc 4 fun?
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 07/17/2006 20:19:27
/usr/src/sys/dev/ic/sl811hs.c: In function 'slhci_device_ctrl_start':
/usr/src/sys/dev/ic/sl811hs.c:1182: error: invalid lvalue in assignment

        int len, actlen, size;
...
        void *buf;
...
                        (u_char*)buf += size;

The code hasn't changed in ages, so I'm guessing its a stricter compiler
warning? (First time I try gcc 4 on that box.)

Cheers,

Patrick