Fix build on AMD64 (and probably other arches where size_t != int).
Submitted by: Tinderbox MFC after: 2 weeks
This commit is contained in:
parent
464d7f1e2a
commit
c1d75210e2
@ -50,7 +50,8 @@ exec_shell_imgact(imgp)
|
||||
{
|
||||
const char *image_header = imgp->image_header;
|
||||
const char *ihp;
|
||||
int error, length, offset;
|
||||
int error, offset;
|
||||
size_t length;
|
||||
|
||||
/* a shell script? */
|
||||
if (((const short *) image_header)[0] != SHELLMAGIC)
|
||||
|
Loading…
Reference in New Issue
Block a user