Selaa lähdekoodia

missed one 32/64 type conversion

Gargaj 11 vuotta sitten
vanhempi
commit
61ecff3474
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      code/AssbinExporter.cpp

+ 1 - 1
code/AssbinExporter.cpp

@@ -161,7 +161,7 @@ inline size_t Write<aiQuaternion>(IOStream * stream, const aiQuaternion& v)
 template <>
 template <>
 inline size_t Write<aiVertexWeight>(IOStream * stream, const aiVertexWeight& v)
 inline size_t Write<aiVertexWeight>(IOStream * stream, const aiVertexWeight& v)
 {
 {
-	uint32_t t = Write<unsigned int>(stream,v.mVertexId);
+	size_t t = Write<unsigned int>(stream,v.mVertexId);
 	return t+Write<float>(stream,v.mWeight);
 	return t+Write<float>(stream,v.mWeight);
 }
 }