Fix gcc40 compilation by removing casts of lvalues.
authorSimon Schubert <corecode@dragonflybsd.org>
Sat, 7 May 2005 15:33:05 +0000 (15:33 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Sat, 7 May 2005 15:33:05 +0000 (15:33 +0000)
commitc6f192eb5f39d06b6391e61f67cc000c268636ee
treebef7638cbc3d7e86764bd37941bb7d1278aee109
parentbc0d1ac2bead954c3a5a40168cd685493415cdd9
Fix gcc40 compilation by removing casts of lvalues.

This gives us back one warning (with gcc34, gcc40 emits much more
anyways).  The correct fix would be sys/cdefs.h and __DECONST, but as this
is contrib source anyways I don't feel like fixing warning messages here.
contrib/smbfs/lib/smb/file.c
contrib/smbfs/lib/smb/rq.c