]> git.pond.sub.org Git - empserver/blobdiff - src/lib/global/nsc.c
Check subscript of rpt[]
[empserver] / src / lib / global / nsc.c
index b463e04912e7b3d49456eed988b7906f9ed98dcc..2aaa08abd80eb3028e2815cecbe0c7193a7faaf2 100644 (file)
@@ -427,7 +427,7 @@ struct castr loan_ca[] = {
 struct castr news_ca[] = {
     /* no need for uid as long as it's not referenced from other tables */
     {NSC_NATID, 0, 0, fldoff(nwsstr, nws_ano), "actor", EF_NATION},
-    {NSC_CHAR, 0, 0, fldoff(nwsstr, nws_vrb), "action", EF_NEWS_CHR},
+    {NSC_UCHAR, 0, 0, fldoff(nwsstr, nws_vrb), "action", EF_NEWS_CHR},
     {NSC_NATID, 0, 0, fldoff(nwsstr, nws_vno), "victim", EF_NATION},
     {NSC_CHAR, 0, 0, fldoff(nwsstr, nws_ntm), "times", EF_BAD},
     {NSC_TIME, 0, 0, fldoff(nwsstr, nws_when), "time", EF_BAD},