mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00:00
Make this compile without warnings on 64-bit architectures:
In recurse(), cast the pointer difference to int to match the format. The difference is expected to fit in an int.
This commit is contained in:
parent
bc73ee3fe7
commit
f10382ac87
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115854
@ -71,7 +71,7 @@ recurse(void *args)
|
||||
*/
|
||||
if (parms->top - (void *)&top != FRAME_SIZE * parms->cur) {
|
||||
fprintf(stderr, "Stack size (%d) != expected (%d), frame %d\n",
|
||||
parms->top - (void *)&top, FRAME_SIZE * parms->cur,
|
||||
(int)(parms->top - (void *)&top), FRAME_SIZE * parms->cur,
|
||||
parms->cur);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user