Your sConversion
takesreturns an int
as argument. You need to declare it as unsigned long
.
This is what you are lookin for:
int conv(unsigned long conv(int x) {
return x /* 600000;600000L;
}
Your sConversion
takes an int
as argument. You need to declare it as unsigned long
.
This is what you are lookin for:
int conv(unsigned long x) {
return x / 600000;
}
Your sConversion
returns an int
as argument. You need to declare it as unsigned long
.
This is what you are lookin for:
unsigned long conv(int x) {
return x * 600000L;
}