[Spice-devel] [PATCH 11/18] Use mnemonic returning invalid value

Frediano Ziglio fziglio at redhat.com
Mon Sep 26 08:12:44 UTC 2016


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/spice-bitmap-utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.7.4



More information about the Spice-devel mailing list