@@ -666,7 +666,7 @@ private int tryMain(size_t argc, const(char)** argv)
666666        /*  At this point, name is the D source file name stripped of
667667         * its path and extension. 
668668         */  
669-         auto  id = Identifier.idPool(name, strlen(name));
669+         auto  id = Identifier.idPool(name, cast ( uint ) strlen(name));
670670        auto  m = new  Module(files[i], id, global.params.doDocComments, global.params.doHdrGeneration);
671671        modules.push(m);
672672        if  (firstmodule)
@@ -2479,7 +2479,7 @@ private void parseModulePattern(const(char)* modulePattern, MatcherNode* dst, us
24792479                if  (* modulePattern ==  ' .' 
24802480                {
24812481                    assert (modulePattern >  idStart, " empty module pattern" 
2482-                     * dst = MatcherNode(Identifier.idPool(idStart, modulePattern -  idStart));
2482+                     * dst = MatcherNode(Identifier.idPool(idStart, cast ( uint )( modulePattern -  idStart) ));
24832483                    modulePattern++ ;
24842484                    idStart = modulePattern;
24852485                    break ;
@@ -2491,7 +2491,7 @@ private void parseModulePattern(const(char)* modulePattern, MatcherNode* dst, us
24912491            if  (* modulePattern ==  ' \0 ' 
24922492            {
24932493                assert (modulePattern >  idStart, " empty module pattern" 
2494-                 * lastNode = MatcherNode(Identifier.idPool(idStart, modulePattern -  idStart));
2494+                 * lastNode = MatcherNode(Identifier.idPool(idStart, cast ( uint )( modulePattern -  idStart) ));
24952495                break ;
24962496            }
24972497        }
0 commit comments