]> git.pond.sub.org Git - empserver/blobdiff - include/trade.h
Store uids as int to support more sectors and units
[empserver] / include / trade.h
index 6fc9919e274414e7aa20695cf7f73bce8582ad71..d40060c63a7fa49d9ee84a52979949209a5d4793 100644 (file)
 struct trdstr {
     /* initial part must match struct empobj */
     short ef_type;
-    short trd_uid;
+    int trd_uid;
     unsigned trd_seqno;
     time_t trd_timestamp;
     natid trd_owner;
     /* end of part matching struct empobj */
     short trd_type;
-    short trd_unitid;
+    int trd_unitid;
     long trd_price;
     int trd_maxbidder;
     time_t trd_markettime;