At work the current thing I’m doing is converting all instances of ‘long’ to ‘int32_t’ in a section of the codebase. Even though these data types are actually identical, because the C specification from the 60s doesn’t actually specify the length of int, short, and long, the compiler can’t just plug a long into a function that takes an int32_t or vice-versa.
But, whatever. It’s mostly just a lot of building, going to the error message, fixing the call site that the error points towards, build again. Tedious, but easy.
Got to directly inspect everywhere that calls this function to see if you can find the one that’s got a long in the arguments. Or a different data type that is being converted to a long.