diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-15 04:29:47 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-15 04:29:47 +0000 |
commit | 8e413bb3cada2bf3f8c0b3b525256de5e443169c (patch) | |
tree | ebc45bb779e723ab72d260fc5b72684bacb1f063 /test/termios | |
parent | 09c9327657f21eb42e28ba195fde9316fdcc78e5 (diff) |
fix warning
Diffstat (limited to 'test/termios')
-rw-r--r-- | test/termios/termios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/termios/termios.c b/test/termios/termios.c index 8b3aabc55..5fbc344c0 100644 --- a/test/termios/termios.c +++ b/test/termios/termios.c @@ -11,7 +11,7 @@ int main(int argc,char *argv[]) int ret; printf("TCGETS = 0x%08x\n",TCGETS); - printf("sizeof(struct termios) = %d\n",sizeof(struct termios)); + printf("sizeof(struct termios) = %ld\n",(long)sizeof(struct termios)); ret = ioctl(fileno(stdout),TCGETS,&t); |