diff options
| author | Clifford Wolf <clifford@clifford.at> | 2019-05-15 13:35:52 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-15 13:35:52 +0200 | 
| commit | 4fd0e11214293ebdd7751bd2181b0e7399a80ed6 (patch) | |
| tree | 8082310fd3b6c15e8f76fadfc14a41c5b1d3d64a /passes/techmap/libparse.cc | |
| parent | 64b604207deefb87faa1aaf158012b7063526c6f (diff) | |
| parent | 5e443a5d0db8f517582818e756871ec2e8117dbe (diff) | |
| download | yosys-4fd0e11214293ebdd7751bd2181b0e7399a80ed6.tar.gz yosys-4fd0e11214293ebdd7751bd2181b0e7399a80ed6.tar.bz2 yosys-4fd0e11214293ebdd7751bd2181b0e7399a80ed6.zip  | |
Merge pull request #1011 from hzeller/fix-constructing-string-from-int
Fix two instances of integer-assignment to string.
Diffstat (limited to 'passes/techmap/libparse.cc')
| -rw-r--r-- | passes/techmap/libparse.cc | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/techmap/libparse.cc b/passes/techmap/libparse.cc index 991cc4498..349ccc115 100644 --- a/passes/techmap/libparse.cc +++ b/passes/techmap/libparse.cc @@ -94,7 +94,7 @@ int LibertyParser::lexer(std::string &str)  	// search for identifiers, numbers, plus or minus.  	if (('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || ('0' <= c && c <= '9') || c == '_' || c == '-' || c == '+' || c == '.') { -		str = c; +		str = static_cast<char>(c);  		while (1) {  			c = f.get();  			if (('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || ('0' <= c && c <= '9') || c == '_' || c == '-' || c == '+' || c == '.')  | 
