diff options
author | Claire Wolf <clifford@clifford.at> | 2020-06-25 18:24:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 18:24:09 +0200 |
commit | ef4489835c2b5dbea2807c2441ea3b54a66800f5 (patch) | |
tree | 3405b2bdfa403108b7a8d103e4be65dde21b2b87 | |
parent | cd2610e0fa1c6a90e8e4e4cfe06db1b474e752bb (diff) | |
parent | e52149944e0ceb78a8837daafbbfb571f9c6ccc0 (diff) | |
download | icestorm-ef4489835c2b5dbea2807c2441ea3b54a66800f5.tar.gz icestorm-ef4489835c2b5dbea2807c2441ea3b54a66800f5.tar.bz2 icestorm-ef4489835c2b5dbea2807c2441ea3b54a66800f5.zip |
Merge pull request #256 from emaste/master
icetime: avoid string + int Clang warning
-rw-r--r-- | icetime/iceutil.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/icetime/iceutil.cc b/icetime/iceutil.cc index ad8d662..440b9a8 100644 --- a/icetime/iceutil.cc +++ b/icetime/iceutil.cc @@ -155,7 +155,7 @@ std::string find_chipdb(std::string config_device) #else homepath += getenv("HOME"); #endif - homepath += std::string(PREFIX + 1) + "/" CHIPDB_SUBDIR "/chipdb-" + config_device + ".txt"; + homepath += std::string(&PREFIX[1]) + "/" CHIPDB_SUBDIR "/chipdb-" + config_device + ".txt"; if (verbose) fprintf(stderr, "Looking for chipdb '%s' at %s\n", config_device.c_str(), homepath.c_str()); if (file_test_open(homepath)) |