mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-02 14:28:32 +00:00
Use enum value returning invalid value
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
fd888a0bfd
commit
c2f0b00fde
@ -132,7 +132,7 @@ int spice_bitmap_from_surface_type(uint32_t surface_format)
|
||||
default:
|
||||
spice_critical("Unsupported surface format");
|
||||
}
|
||||
return 0;
|
||||
return SPICE_BITMAP_FMT_INVALID;
|
||||
}
|
||||
|
||||
#ifdef DUMP_BITMAP
|
||||
|
||||
Loading…
Reference in New Issue
Block a user