summaryrefslogtreecommitdiff
blob: 52183d2253635f73ce2f6435bad81e227df9fc80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur yafray.orig/src/shaders/basictex.cc yafray/src/shaders/basictex.cc
--- yafray.orig/src/shaders/basictex.cc	2006-06-10 03:41:26.000000000 +0300
+++ yafray/src/shaders/basictex.cc	2010-01-09 18:36:28.000000000 +0200
@@ -259,7 +259,7 @@
 		intp_type = BICUBIC;
 	
 	// Load image, try to determine from extensions first
-	char *ext = strrchr(filename, '.');
+	const char *ext = strrchr(filename, '.');
 	bool jpg_tried = false;
 	bool tga_tried = false;
 	bool hdr_tried = false;