Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 1995 17:03:49 +0300
From:      "Andrey A. Chernov, Black Mage" <ache@astral.msk.su>
To:        CVS-commiters@freefall.cdrom.com, cvs-include@freefall.cdrom.com, Joerg Wunsch <joerg@freefall.cdrom.com>
Subject:   Re: cvs commit: src/include kvm.h
Message-ID:  <ZL5d3Rl4j2@astral.msk.su>
In-Reply-To: <199503191336.OAA06487@freefall.cdrom.com>; from Joerg Wunsch at Sun, 19 Mar 1995 14:36:52 %2B0100
References:  <199503191336.OAA06487@freefall.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199503191336.OAA06487@freefall.cdrom.com> Joerg Wunsch
    writes:

>joerg       95/03/19 14:36:51

>  Modified:    lib/libkvm kvm_proc.c
>  Log:
>  Cast the offset of one call to lseek() to off_t, as it's already done
>  in all other places here.
  
>  This is a hack, the interface should be changed to use off_t's
>  everywhere around, but this will require to update all the programs
>  that happen to use libkvm.

You don't need direct cast if you include <unistd.h>

-- 
Andrey A. Chernov        : And I rest so composedly,  /Now, in my bed,
ache@astral.msk.su       : That any beholder  /Might fancy me dead -
FidoNet: 2:5020/230.3    : Might start at beholding me,  /Thinking me dead.
RELCOM Team,FreeBSD Team :         E.A.Poe         From "For Annie" 1849



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZL5d3Rl4j2>