/in/foo.c: In function 'main':
/in/foo.c:8:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d %d",&x1,&x2);
^
/in/foo.c:8:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
scanf("%d %d",&x1,&x2);
^
/in/foo.c:12:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d\n%d\n%d\n",sum,pro,rem);
^
/in/foo.c:12:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
printf("%d\n%d\n%d\n",sum,pro,rem);
^
/in/foo.c:12:19: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
printf("%d\n%d\n%d\n",sum,pro,rem);
^