summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordgregor <dgregor@cvs.openbsd.org>1997-06-24 02:52:43 +0000
committerdgregor <dgregor@cvs.openbsd.org>1997-06-24 02:52:43 +0000
commitf6eb3918415010b402fae13bef7e03a874476185 (patch)
tree250dbc40b56cf95fc97dccf9ae993307955ec4a7
parenteff6e3e80e35d8f831768029b7ab27841f587ad7 (diff)
changed char * cast from int to long
-rw-r--r--usr.sbin/ctm/ctm_dequeue/ctm_dequeue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ctm/ctm_dequeue/ctm_dequeue.c b/usr.sbin/ctm/ctm_dequeue/ctm_dequeue.c
index 0ddd3aa869f..f98a70beab0 100644
--- a/usr.sbin/ctm/ctm_dequeue/ctm_dequeue.c
+++ b/usr.sbin/ctm/ctm_dequeue/ctm_dequeue.c
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ctm_dequeue.c,v 1.1 1996/10/30 17:32:58 graichen Exp $
+ * $Id: ctm_dequeue.c,v 1.2 1997/06/24 02:52:42 dgregor Exp $
*/
/*
@@ -137,7 +137,7 @@ main(int argc, char **argv)
}
buffer = mmap(0, ftsent->fts_statp->st_size, PROT_READ, MAP_PRIVATE, fp, 0);
- if (((int) buffer) <= 0)
+ if (((long) buffer) <= 0)
{
err("mmap failed, errno = %d", errno);
exit(1);