From c3b13b5df3c2ffed2e9c26fd60ce42a43b6a714f Mon Sep 17 00:00:00 2001 From: ahocevar Date: Mon, 15 Oct 2012 08:27:01 +0200 Subject: [PATCH] Using radix parameter to make linter happy --- lib/OpenLayers/Layer/Grid.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index 0985f231bb..815eb0d0ae 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -793,8 +793,8 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, { setTileSize: function(size) { if (this.singleTile) { size = this.map.getSize(); - size.h = parseInt(size.h * this.ratio); - size.w = parseInt(size.w * this.ratio); + size.h = parseInt(size.h * this.ratio, 10); + size.w = parseInt(size.w * this.ratio, 10); } OpenLayers.Layer.HTTPRequest.prototype.setTileSize.apply(this, [size]); },