Is it possible to prevent implicit typecasts for a specific function?

Do an explicit conversion to the type you want when you call the function.

oStream << (int)12;
oStream << (int)millis();