The corrent modifier is not '%ld' but '%zd'