mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-11 11:16:58 +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 )
|
else if( x )
|
||||||
{
|
{
|
||||||
DirList const *dList = (DirList*)data;
|
void *dat[2] = data;
|
||||||
char *path = (char*)(data+1);
|
DirList const *dList = (DirList*)dat;
|
||||||
|
char *path = (char*)(dat+1);
|
||||||
|
|
||||||
const char *file = &dList->ptrs[index][1];
|
const char *file = &dList->ptrs[index][1];
|
||||||
int pathlen = strlen(path);
|
int pathlen = strlen(path);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user