From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 2/3] audio/hda: fix CID 1393631
Date: Mon, 2 Jul 2018 16:55:12 +0200 [thread overview]
Message-ID: <20180702145513.11481-2-kraxel@redhat.com> (raw)
In-Reply-To: <20180702145513.11481-1-kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/audio/hda-codec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/audio/hda-codec.c b/hw/audio/hda-codec.c
index 9f630fa37f..2b58c3505b 100644
--- a/hw/audio/hda-codec.c
+++ b/hw/audio/hda-codec.c
@@ -189,7 +189,7 @@ struct HDAAudioState {
static inline int64_t hda_bytes_per_second(HDAAudioStream *st)
{
- return 2 * st->as.nchannels * st->as.freq;
+ return 2LL * st->as.nchannels * st->as.freq;
}
static inline void hda_timer_sync_adjust(HDAAudioStream *st, int64_t target_pos)
--
2.9.3
next prev parent reply other threads:[~2018-07-02 14:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-02 14:55 [Qemu-devel] [PATCH 1/3] audio/hda: adjust larger gaps faster Gerd Hoffmann
2018-07-02 14:55 ` Gerd Hoffmann [this message]
2018-07-02 16:38 ` [Qemu-devel] [PATCH 2/3] audio/hda: fix CID 1393631 Philippe Mathieu-Daudé
2018-07-02 14:55 ` [Qemu-devel] [PATCH 3/3] audio: add audio timer trace points Gerd Hoffmann
2018-07-02 15:25 ` Philippe Mathieu-Daudé
2018-07-02 15:50 ` Gerd Hoffmann
2018-07-02 15:57 ` Daniel P. Berrangé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180702145513.11481-2-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).