trisquel-icecat/icecat/tools/clang-tidy/test/bugprone-misplaced-widening-cast.cpp

3 lines
47 B
C++

long f(int x) {
return (long)(x * 1000);
}