/* time */
vg_strnull( &str, buf, 100 );
- i32 centiseconds = vg_msg_getkvi32( &body, "time", 0 ),
- seconds = centiseconds / 100,
+
+ u32 centiseconds;
+ vg_msg_getkvintg( &body, "time", k_vg_msg_i32, ¢iseconds );
+
+ i32 seconds = centiseconds / 100,
minutes = seconds / 60;
centiseconds %= 100;