[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] hw: fw_cfg: use qemu_opt_get_number to get
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] hw: fw_cfg: use qemu_opt_get_number to get splash-time and reboot-timeout |
Date: |
Mon, 5 Nov 2018 09:29:02 +0100 |
User-agent: |
NeoMutt/20180716 |
> + uint64_t boot_splash_time = -1;
Hmm, why use uint64_t here ...
> + if ((int64_t)boot_splash_time >= 0) {
... then cast it to int64_t here?
Isn't it easier to just use int64_t?
cheers,
Gerd