]> git.pond.sub.org Git - empserver/blobdiff - include/lost.h
Store sequence numbers more compactly
[empserver] / include / lost.h
index 63e68d8c5f41f34f169de329cba99429cab36ae9..0e40470c3319973b99e8d51779b9e6f5a473695d 100644 (file)
@@ -39,9 +39,9 @@
 
 struct loststr {
     /* initial part must match struct empobj */
-    short ef_type;
+    signed ef_type: 8;
+    unsigned lost_seqno: 12;
     int lost_uid;
-    unsigned lost_seqno;
     time_t lost_timestamp;     /* When it was lost */
     natid lost_owner;          /* Who lost it */
     /* end of part matching struct empobj */