add 2.c

Signed-off-by: JIANG Di <dd19941105@gmail.com>
change %ld to %lu, %u to %lu

Signed-off-by: JIANG Di <dd19941105@gmail.com>