mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
Fix bogus cast to (int) in virNetServerMDNSTimeoutNew
The virNetServerMDNSTimeoutNew method was casting a long long to an int when reporting errors. This should just be using %lld instead of %d, avoiding the need to cast Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
605df4f4d9
commit
8a89c08069
@ -368,7 +368,7 @@ static AvahiTimeout *virNetServerMDNSTimeoutNew(const AvahiPoll *api ATTRIBUTE_U
|
||||
|
||||
if (t->timer < 0) {
|
||||
virNetError(VIR_ERR_INTERNAL_ERROR,
|
||||
_("Failed to add timer with timeout %d"), (int)timeout);
|
||||
_("Failed to add timer with timeout %lld"), timeout);
|
||||
VIR_FREE(t);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user