Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/tpctl cast through intptr_t
details: https://anonhg.NetBSD.org/src/rev/9ad79aa576b9
branches: trunk
changeset: 320689:9ad79aa576b9
user: christos <christos%NetBSD.org@localhost>
date: Mon Jul 16 01:04:47 2018 +0000
description:
cast through intptr_t
diffstat:
usr.sbin/tpctl/main.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0d2996b1485d -r 9ad79aa576b9 usr.sbin/tpctl/main.c
--- a/usr.sbin/tpctl/main.c Mon Jul 16 00:47:54 2018 +0000
+++ b/usr.sbin/tpctl/main.c Mon Jul 16 01:04:47 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.6 2013/11/29 23:01:05 joerg Exp $ */
+/* $NetBSD: main.c,v 1.7 2018/07/16 01:04:47 christos Exp $ */
/*-
* Copyright (c) 2002 TAKEMRUA Shin
@@ -49,7 +49,7 @@
#ifndef lint
#include <sys/cdefs.h>
-__RCSID("$NetBSD: main.c,v 1.6 2013/11/29 23:01:05 joerg Exp $");
+__RCSID("$NetBSD: main.c,v 1.7 2018/07/16 01:04:47 christos Exp $");
#endif /* not lint */
void load_data(const char *, struct tpctl_data *);
@@ -380,7 +380,7 @@
int
check_esc(void *data)
{
- int fd = (int)data;
+ int fd = (int)(intptr_t)data;
int flg, n, error;
char buf[1];
struct termios tm, raw;
Home |
Main Index |
Thread Index |
Old Index