# HG changeset patch # User cannam # Date 1226670812 0 # Node ID 7d678f889789e2244332acf1f23c94fc4b0ed685 # Parent f7b34848afd2b644b8ecef1e25e4d72ae5398c53 ... diff -r f7b34848afd2 -r 7d678f889789 host/vamp-simple-host.cpp --- a/host/vamp-simple-host.cpp Fri Nov 14 12:30:23 2008 +0000 +++ b/host/vamp-simple-host.cpp Fri Nov 14 13:53:32 2008 +0000 @@ -6,7 +6,7 @@ An API for audio analysis and feature extraction plugins. Centre for Digital Music, Queen Mary, University of London. - Copyright 2006 Chris Cannam. + Copyright 2006 Chris Cannam, copyright 2007-2008 QMUL. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation @@ -95,7 +95,7 @@ cerr << "\n" << name << ": A command-line host for Vamp audio analysis plugins.\n\n" "Centre for Digital Music, Queen Mary, University of London.\n" - "Copyright 2006-2007 Chris Cannam and QMUL.\n" + "Copyright 2006-2008 Chris Cannam and QMUL.\n" "Freely redistributable; published under a BSD-style license.\n\n" "Usage:\n\n" " " << name << " [-s] pluginlibrary[." << PLUGIN_SUFFIX << "]:plugin[:output] file.wav [-o out.txt]\n" diff -r f7b34848afd2 -r 7d678f889789 src/vamp-hostsdk/PluginHostAdapter.cpp --- a/src/vamp-hostsdk/PluginHostAdapter.cpp Fri Nov 14 12:30:23 2008 +0000 +++ b/src/vamp-hostsdk/PluginHostAdapter.cpp Fri Nov 14 13:53:32 2008 +0000 @@ -96,7 +96,7 @@ } #ifdef _WIN32 char *cpfiles = getenv("ProgramFiles"); - if (!cpfiles) cpfiles = "C:\\Program Files"; + if (!cpfiles) cpfiles = (char *)"C:\\Program Files"; std::string pfiles(cpfiles); std::string::size_type f; while ((f = envPath.find("%ProgramFiles%")) != std::string::npos &&