修正编译警告

This commit is contained in:
anod 2023-03-07 14:38:57 +08:00
parent 4e5344d9bf
commit 9737057cb1

View File

@ -425,11 +425,12 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
if( res == ATP_SUCCESS )
{
defi = item;
acl_chtid_t sid, ccid;
acl_elemlen_t len, cclen;
acl_chtid_t sid;
acl_elemlen_t len;
u32 ccid, cclen;
acl_query_cheat_set((acl_index_t)item, &sid, NULL );
acl_select_cheat_set( sid );
acl_select_entry(0, len);
acl_select_entry(0, &len);
if( CCHT_OK == info_current_cheat(&ccid, &cclen) )
{
// SKIP the init process when id and len is the same