Changeset 8c94483694f5774d39acb4072885476c45d9b571
- Timestamp:
- 04/21/08 23:13:49 (9 months ago)
- Author:
- dave <dave@…>
- Parents:
- 6503f81ba48ee1cbf2af0618834fc7316f8b03ab
- Children:
- cafd8d281bdf982e2ac0b84d57dfbf9fed46603c, 5c451bde45bd4c6db69e29edc623b3f53c083d58
- git-committer:
- dave <dave@06fd6eb0-0002-0410-a719-e5602cce40bc> / 2008-04-21T13:13:49Z+0000
- Message:
-
Added casts for compilation with C++
git-svn-id: svn+ssh://davebalmain.com/home/dave/repos/ferret/trunk@1030 06fd6eb0-0002-0410-a719-e5602cce40bc
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r553474
|
r8c9448
|
|
| 14 | 14 | const char *intern(const char *str) |
| 15 | 15 | { |
| 16 | | char *symbol = h_get(symbol_table, str); |
| | 16 | char *symbol = (char *)h_get(symbol_table, str); |
| 17 | 17 | if (!symbol) { |
| 18 | 18 | symbol = estrdup(str); |
| … |
… |
|
| 24 | 24 | const char *intern_and_free(char *str) |
| 25 | 25 | { |
| 26 | | char *symbol = h_get(symbol_table, str); |
| | 26 | char *symbol = (char *)h_get(symbol_table, str); |
| 27 | 27 | if (!symbol) { |
| 28 | 28 | symbol = str; |