ref: b445dcfd53a281d99d8c8aea6384ba715387ee29
parent: eb38a4e96f8dd248de474341efadbcccab374058
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Sep 29 16:11:58 EDT 2014
snap: change ulong return of stackptr() to uvlong for amd64
--- a/sys/src/cmd/snap/take.c
+++ b/sys/src/cmd/snap/take.c
@@ -144,7 +144,7 @@
}
/* discover the stack pointer of the given process */
-ulong
+uvlong
stackptr(Proc *proc, int fd)
{char *q;
@@ -202,8 +202,7 @@
Seg **s;
char *name, *segdat, *q, *f[128+1], buf[128];
int fd, i, stacki, nf, np;
- uvlong off, len, stackoff, stacklen;
- uvlong sp;
+ uvlong off, len, stackoff, stacklen, sp;
proc = emalloc(sizeof(*proc));
proc->pid = pid;
--
⑨