about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--cmogstored.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmogstored.h b/cmogstored.h
index 334f2f7..3a7812d 100644
--- a/cmogstored.h
+++ b/cmogstored.h
@@ -171,7 +171,8 @@ enum mog_chunk_state {
 struct mog_http {
         int cs;
         struct {
-                enum mog_http_method http_method:4;
+                /* only needs 4 bits, but we use 8 for alignment */
+                enum mog_http_method http_method:8;
                 unsigned persistent:1;
                 unsigned chunked:1;
                 unsigned has_md5:1;