diff options
Diffstat (limited to 'ice40/bitstream.cc')
-rw-r--r-- | ice40/bitstream.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/bitstream.cc b/ice40/bitstream.cc index a9c46ea8..91f5ede4 100644 --- a/ice40/bitstream.cc +++ b/ice40/bitstream.cc @@ -31,7 +31,7 @@ const ConfigEntryPOD &find_config(const TileInfoPOD &tile, const std::string &name) { for (int i = 0; i < tile.num_config_entries; i++) { - if (std::string(tile.entries[i].name) == name) { + if (std::string(tile.entries[i].name.ptr()) == name) { return tile.entries[i]; } } |