mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-08 06:44:12 +08:00
尝试修正段错误
This commit is contained in:
parent
527ad26d20
commit
9bc2f95da2
@ -277,8 +277,9 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
|
||||
}
|
||||
else if( x )
|
||||
{
|
||||
DirList const *dList = (DirList*)data;
|
||||
char *path = (char*)(data+1);
|
||||
void *dat[2] = data;
|
||||
DirList const *dList = (DirList*)dat;
|
||||
char *path = (char*)(dat+1);
|
||||
|
||||
const char *file = &dList->ptrs[index][1];
|
||||
int pathlen = strlen(path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user