Fixing some trivial warnings in the SwiftShader build.

BUG=18368388

Change-Id: I89038818164e04f9ae4a7e1c4526781654e83c7a
Reviewed-on: https://swiftshader-review.googlesource.com/1390
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/src/Renderer/Sampler.cpp b/src/Renderer/Sampler.cpp
index a292267..3d73ceb 100644
--- a/src/Renderer/Sampler.cpp
+++ b/src/Renderer/Sampler.cpp
@@ -270,9 +270,9 @@
 		texture.borderColorF[3][0] = texture.borderColorF[3][1] = texture.borderColorF[3][2] = texture.borderColorF[3][3] = borderColor.a;
 	}
 
-	void Sampler::setMaxAnisotropy(unsigned int maxAnisotropy)
+	void Sampler::setMaxAnisotropy(float maxAnisotropy)
 	{
-		texture.maxAnisotropy = (float)maxAnisotropy;
+		texture.maxAnisotropy = maxAnisotropy;
 	}
 
 	void Sampler::setFilterQuality(FilterType maximumFilterQuality)