summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-15 04:29:47 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-15 04:29:47 +0000
commit8e413bb3cada2bf3f8c0b3b525256de5e443169c (patch)
treeebc45bb779e723ab72d260fc5b72684bacb1f063
parent09c9327657f21eb42e28ba195fde9316fdcc78e5 (diff)
fix warning
-rw-r--r--test/termios/termios.c2
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);