loci: output constants in hex

Large base-10 constants caused warnings on some 32-bit compilers.