changeset 405:67704de2bb54

Win32 compile fix
author Chris Cannam
date Tue, 16 Jun 2015 13:25:13 +0100
parents 36a53eb1208e
children b7268e8bd292
files src/vamp-hostsdk/Files.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/vamp-hostsdk/Files.cpp	Tue Jun 16 13:02:38 2015 +0100
+++ b/src/vamp-hostsdk/Files.cpp	Tue Jun 16 13:25:13 2015 +0100
@@ -175,7 +175,7 @@
     if (li != string::npos) basename = basename.substr(li + 1);
 
 #ifdef _WIN32
-    string::size_type li = basename.rfind('\\');
+    li = basename.rfind('\\');
     if (li != string::npos) basename = basename.substr(li + 1);
 #endif