]> git.pond.sub.org Git - empserver/blobdiff - include/sect.h
Store uids as int to support more sectors and units
[empserver] / include / sect.h
index 7c5f8673c9d55fa4551f374b6b803057aa0639be..01fda989dad2b496b346e91fda6281fcabe3f55a 100644 (file)
@@ -45,7 +45,7 @@
 struct sctstr {
     /* initial part must match struct empobj */
     short ef_type;
-    short sct_uid;             /* equals XYOFFSET(sct_x, sct_y) */
+    int sct_uid;               /* equals XYOFFSET(sct_x, sct_y) */
     unsigned sct_seqno;
     time_t sct_timestamp;      /* Last time this sector was written to */
     natid sct_own;             /* owner's country num */