]> git.pond.sub.org Git - empserver/blobdiff - include/lost.h
Fix struct loststr / struct empobj mismatch corrupting lostitems
[empserver] / include / lost.h
index 1bb930796338f5c403b3564c00b149ac981eebb7..a662463798aeddec11176919d3c1e9cde048f9ce 100644 (file)
@@ -40,7 +40,7 @@
 struct loststr {
     /* initial part must match struct empobj */
     short ef_type;
-    int lost_uid;
+    short lost_uid;
     unsigned lost_seqno;
     time_t lost_timestamp;     /* When it was lost */
     natid lost_owner;          /* Who lost it */