summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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);