Added support for promoting longs