Changeset 8c94483694f5774d39acb4072885476c45d9b571

Show
Ignore:
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:
1 modified

Legend:

Unmodified
Added
Removed
  • c/src/intern.c

    r553474 r8c9448  
    1414const char *intern(const char *str) 
    1515{ 
    16     char *symbol = h_get(symbol_table, str); 
     16    char *symbol = (char *)h_get(symbol_table, str); 
    1717    if (!symbol) { 
    1818        symbol = estrdup(str); 
     
    2424const char *intern_and_free(char *str) 
    2525{ 
    26     char *symbol = h_get(symbol_table, str); 
     26    char *symbol = (char *)h_get(symbol_table, str); 
    2727    if (!symbol) { 
    2828        symbol = str;