X-Git-Url: https://git.saurik.com/apple/boot.git/blobdiff_plain/57c72a9a9f2a263d364c2df1178760bd057c390f..bba600dda0ea8a76d875db7308f372bfc43f8506:/i386/libsaio/nbp.c diff --git a/i386/libsaio/nbp.c b/i386/libsaio/nbp.c index a2b176c..552aa67 100644 --- a/i386/libsaio/nbp.c +++ b/i386/libsaio/nbp.c @@ -64,7 +64,7 @@ static long NBPLoadFile(CICell ih, char * filePath) nbpCommandTFTPReadFile_s cmd; UInt32 ret; - strcpy(cmd.filename, filePath); + strcpy((char *)cmd.filename, filePath); cmd.status = nbpStatusFailed; cmd.bufferSize = TFTP_LEN; cmd.buffer = TFTP_ADDR;