[Spice-commits] server/glz_encode_tmpl.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Tue Aug 25 08:27:54 PDT 2015


 server/glz_encode_tmpl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3a5fb1c5e5022d1f77bb6de6097ac4d16294a2d0
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Fri Aug 21 09:23:28 2015 +0100

    remove wrong statement terminator from preprocessor macro
    
    Actually not causing problems as when used is always followed by another
    terminator but better to fix the definition.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Pavel Grunt <pgrunt at redhat.com>

diff --git a/server/glz_encode_tmpl.c b/server/glz_encode_tmpl.c
index 89092a9..46dd1d4 100644
--- a/server/glz_encode_tmpl.c
+++ b/server/glz_encode_tmpl.c
@@ -18,7 +18,7 @@
 #include <config.h>
 #endif
 
-#define DJB2_START 5381;
+#define DJB2_START 5381
 #define DJB2_HASH(hash, c) (hash = ((hash << 5) + hash) ^ (c)) //|{hash = ((hash << 5) + hash) + c;}
 
 /*


More information about the Spice-commits mailing list