]> git.pond.sub.org Git - empserver/blobdiff - include/trade.h
Store sequence numbers more compactly
[empserver] / include / trade.h
index d40060c63a7fa49d9ee84a52979949209a5d4793..72ebdbbb90b3d9261850fc1b4af76cb4f15c29b0 100644 (file)
@@ -42,9 +42,9 @@
 
 struct trdstr {
     /* initial part must match struct empobj */
-    short ef_type;
+    signed ef_type: 8;
+    unsigned trd_seqno: 12;
     int trd_uid;
-    unsigned trd_seqno;
     time_t trd_timestamp;
     natid trd_owner;
     /* end of part matching struct empobj */