[Spice-commits] server/spice-bitmap-utils.c
Frediano Ziglio
fziglio at kemper.freedesktop.org
Tue Sep 27 12:26:41 UTC 2016
server/spice-bitmap-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c2f0b00fde17f0d9c7cf07ba2615df6f8a1d8155
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Fri Sep 23 19:09:57 2016 +0100
Use enum value returning invalid value
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
diff --git a/server/spice-bitmap-utils.c b/server/spice-bitmap-utils.c
index a423ad9..72a9285 100644
--- a/server/spice-bitmap-utils.c
+++ b/server/spice-bitmap-utils.c
@@ -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
More information about the Spice-commits
mailing list