mirror of
https://github.com/0intro/conterm
synced 2024-11-23 06:11:18 +03:00
uintptr for getcallerpc
This commit is contained in:
parent
602ec6770c
commit
be768764da
@ -1,8 +1,8 @@
|
||||
#include "u.h"
|
||||
#include "libc.h"
|
||||
|
||||
ulong
|
||||
uintptr
|
||||
getcallerpc(void *a)
|
||||
{
|
||||
return ((ulong*)a)[-1];
|
||||
return ((uintptr*)a)[-1];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user