Loading qemu-char.c +2 −2 Original line number Diff line number Diff line Loading @@ -1369,7 +1369,7 @@ static CharDriverState *qemu_chr_open_pp(QemuOpts *opts) #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) static int pp_ioctl(CharDriverState *chr, int cmd, void *arg) { int fd = (int)chr->opaque; int fd = (int)(long)chr->opaque; uint8_t b; switch(cmd) { Loading Loading @@ -1415,7 +1415,7 @@ static CharDriverState *qemu_chr_open_pp(QemuOpts *opts) return NULL; chr = qemu_mallocz(sizeof(CharDriverState)); chr->opaque = (void *)fd; chr->opaque = (void *)(long)fd; chr->chr_write = null_chr_write; chr->chr_ioctl = pp_ioctl; return chr; Loading Loading
qemu-char.c +2 −2 Original line number Diff line number Diff line Loading @@ -1369,7 +1369,7 @@ static CharDriverState *qemu_chr_open_pp(QemuOpts *opts) #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) static int pp_ioctl(CharDriverState *chr, int cmd, void *arg) { int fd = (int)chr->opaque; int fd = (int)(long)chr->opaque; uint8_t b; switch(cmd) { Loading Loading @@ -1415,7 +1415,7 @@ static CharDriverState *qemu_chr_open_pp(QemuOpts *opts) return NULL; chr = qemu_mallocz(sizeof(CharDriverState)); chr->opaque = (void *)fd; chr->opaque = (void *)(long)fd; chr->chr_write = null_chr_write; chr->chr_ioctl = pp_ioctl; return chr; Loading