JSDOC/TokenStream.vala
authorAlan Knowles <alan@roojs.com>
Tue, 27 Oct 2015 08:29:25 +0000 (16:29 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 27 Oct 2015 08:29:25 +0000 (16:29 +0800)
JSDOC/TokenStream.vala

index 11b01fb..05d5a8f 100644 (file)
@@ -165,7 +165,7 @@ namespace JSDOC {
                
                    //if (typeof howMany == "undefined") howMany = 1;
                    if (howMany < 2) { 
-                               throw new  TokenStreamError.ArgumentError("nextM called with wrong number : %d", 1 * howMany);
+                               throw new  TokenStreamError.ArgumentError("nextM called with wrong number : %d", (int)howMany);
                    }
                    var got = new Gee.ArrayList<Token>();