/in/foo.c: In function 'main':
/in/foo.c:13:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
printf("%d,%d",x1,x2);
^
/in/foo.c:13:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=]
printf("%d,%d",x1,x2);
^
/in/foo.c:15:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
else if(delta=0)
^~~~
/in/foo.c:19:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
printf("%d,%d",x1,x2);
^
/in/foo.c:19:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=]
printf("%d,%d",x1,x2);
^
/in/foo.c:25:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
printf("%d,%d",x1,x2);
^
/in/foo.c:25:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=]
printf("%d,%d",x1,x2);
^
/in/foo.c:31:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
printf("%d,%d",x1,x2);
^
/in/foo.c:31:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=]
printf("%d,%d",x1,x2);
^