]> git.pond.sub.org Git - empserver/blobdiff - include/commodity.h
Store sequence numbers more compactly
[empserver] / include / commodity.h
index a36d9b45dd8d1a161cdd71ca9d66b67330116b0d..1f03fa78e7026b40d6ab3c1b3fd80a88f876071b 100644 (file)
@@ -42,9 +42,9 @@
 
 struct comstr {
     /* initial part must match struct empobj */
-    short ef_type;
+    signed ef_type: 8;
+    unsigned com_seqno: 12;
     int com_uid;
-    unsigned com_seqno;
     time_t com_timestamp;
     natid com_owner;
     /* end of part matching struct empobj */