]> git.proxmox.com Git - mirror_qemu.git/commit
qga: replace deprecated g_get_current_time()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 23 Mar 2022 15:57:23 +0000 (19:57 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Apr 2022 08:50:38 +0000 (10:50 +0200)
commit6e9396696f869551bc39531aa8220ef813da472e
tree02b13bfadcd092ffb0286f8fef0fa4fc2e35d89d
parent8e3b0cbb7212a1e5707ed2d4c26b4e3d2483768d
qga: replace deprecated g_get_current_time()

According to GLib API:
g_get_current_time has been deprecated since version 2.62 and should not
be used in newly-written code. GTimeVal is not year-2038-safe. Use
g_get_real_time() instead.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220323155743.1585078-13-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qga/main.c