]> andersk Git - splint.git/blobdiff - src/clabstract.c
Fixed line numbering when multi-line macro parameters are used.
[splint.git] / src / clabstract.c
index 8c2f1989c89be5ed3f0321d3d0f3402eaa46299e..9c4fe209adab029ad747c498b1ee9dae4941aaf3 100644 (file)
@@ -2199,7 +2199,7 @@ void checkModifiesId (uentry ue)
        }
       else
        {
-         fileloc loc = fileloc_decColumn (g_currentloc, cstring_length (s));
+         fileloc loc = fileloc_decColumn (g_currentloc, size_toInt (cstring_length (s)));
          ret = sRef_undefined;
 
          voptgenerror 
@@ -2275,7 +2275,7 @@ sRef fixStateClausesId (cstring s)
          /*@unused@*/ uentry ue2;
          /*@unused@*/ ctype ct;\r
 # endif
-         fileloc loc = fileloc_decColumn (g_currentloc, cstring_length (s));
+         fileloc loc = fileloc_decColumn (g_currentloc, size_toInt (cstring_length (s)));
          ret = sRef_undefined; 
 # if 0
          /*drl commenting this out for now 
This page took 0.086051 seconds and 4 git commands to generate.