[Spice-commits] common/lz_compress_tmpl.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Tue Jan 26 08:45:51 PST 2016


 common/lz_compress_tmpl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5376f1d88c3aac5ae8f9d387aee61929f1840fa9
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Tue Jan 26 16:33:39 2016 +0000

    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: Jonathon Jongsma <jjongsma at redhat.com>

diff --git a/common/lz_compress_tmpl.c b/common/lz_compress_tmpl.c
index b5d0049..3162a96 100644
--- a/common/lz_compress_tmpl.c
+++ b/common/lz_compress_tmpl.c
@@ -44,7 +44,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