Browse Source

fix warning

Mike Frysinger 19 years ago
parent
commit
8e413bb3ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/termios/termios.c

+ 1 - 1
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);