@@ -655,7 +655,7 @@ private int tryMain(size_t argc, const(char)** argv)
655655        /*  At this point, name is the D source file name stripped of
656656         * its path and extension. 
657657         */  
658-         auto  id = Identifier.idPool(name, strlen(name));
658+         auto  id = Identifier.idPool(name, cast ( uint ) strlen(name));
659659        auto  m = new  Module(files[i], id, global.params.doDocComments, global.params.doHdrGeneration);
660660        modules.push(m);
661661        if  (firstmodule)
@@ -2505,7 +2505,7 @@ private void parseModulePattern(const(char)* modulePattern, MatcherNode* dst, us
25052505                if  (* modulePattern ==  ' .' 
25062506                {
25072507                    assert (modulePattern >  idStart, " empty module pattern" 
2508-                     * dst = MatcherNode(Identifier.idPool(idStart, modulePattern -  idStart));
2508+                     * dst = MatcherNode(Identifier.idPool(idStart, cast ( uint )( modulePattern -  idStart) ));
25092509                    modulePattern++ ;
25102510                    idStart = modulePattern;
25112511                    break ;
@@ -2517,7 +2517,7 @@ private void parseModulePattern(const(char)* modulePattern, MatcherNode* dst, us
25172517            if  (* modulePattern ==  ' \0 ' 
25182518            {
25192519                assert (modulePattern >  idStart, " empty module pattern" 
2520-                 * lastNode = MatcherNode(Identifier.idPool(idStart, modulePattern -  idStart));
2520+                 * lastNode = MatcherNode(Identifier.idPool(idStart, cast ( uint )( modulePattern -  idStart) ));
25212521                break ;
25222522            }
25232523        }
0 commit comments