Multiplying 2 ints

What if you multiply by 512UL, instead? I don't have an Arduino here to test with.