Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/isofs/cd9660 delint -- you can't cast an lvalue



details:   https://anonhg.NetBSD.org/src/rev/34dfc223cc81
branches:  trunk
changeset: 517698:34dfc223cc81
user:      perry <perry%NetBSD.org@localhost>
date:      Sat Nov 17 18:56:46 2001 +0000

description:
delint -- you can't cast an lvalue

diffstat:

 sys/isofs/cd9660/cd9660_vnops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2b0d5a7e4362 -r 34dfc223cc81 sys/isofs/cd9660/cd9660_vnops.c
--- a/sys/isofs/cd9660/cd9660_vnops.c   Sat Nov 17 18:55:57 2001 +0000
+++ b/sys/isofs/cd9660/cd9660_vnops.c   Sat Nov 17 18:56:46 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cd9660_vnops.c,v 1.70 2001/11/12 15:29:50 lukem Exp $  */
+/*     $NetBSD: cd9660_vnops.c,v 1.71 2001/11/17 18:56:46 perry Exp $  */
 
 /*-
  * Copyright (c) 1994
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd9660_vnops.c,v 1.70 2001/11/12 15:29:50 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd9660_vnops.c,v 1.71 2001/11/17 18:56:46 perry Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -695,7 +695,7 @@
                return (error);
        }
        uio->uio_resid -= symlen;
-       (char *)uio->uio_iov->iov_base += symlen;
+       uio->uio_iov->iov_base = (char *)uio->uio_iov->iov_base + symlen;
        uio->uio_iov->iov_len -= symlen;
        return (0);
 }



Home | Main Index | Thread Index | Old Index