build system revision
[carveJwlIkooP6JGAAIwe30JlM.git] / world_sfd.c
index b247ba6e778f5f173627704e38427b4f153c4eb9..fbe07d36d1230319c3e0671d6c2df9a6d4619b53 100644 (file)
@@ -142,8 +142,11 @@ static void world_sfd_compile_scores( struct leaderboard_cache *board,
 
          /* 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, &centiseconds );
+
+         i32 seconds      = centiseconds / 100,
              minutes      = seconds / 60;
 
          centiseconds %= 100;