uintptr for getcallerpc

This commit is contained in:
Russ Cox 2007-05-04 01:48:02 +00:00
parent 602ec6770c
commit be768764da
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
#include "u.h"
#include "libc.h"
ulong
uintptr
getcallerpc(void *a)
{
return ((ulong*)a)[-1];
return ((uintptr*)a)[-1];
}