Changeset 434ffa2
- Timestamp:
- 2015-01-16T19:50:24Z (10 years ago)
- Branches:
- master
- Children:
- 20c9c21
- Parents:
- 85c3004
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
set.c
r85c3004 r434ffa2 175 175 int set_setint( set_t **head, const char *key, int value ) 176 176 { 177 char s[24]; /* Not quite 128-bit clean eh? ;-) */178 179 g_ snprintf( s, sizeof( s ), "%d", value);180 return set_setstr( head, key, s );177 char *s = g_strdup_printf( "%d", value ); 178 int retval = set_setstr( head, key, s ); 179 g_free( s ); 180 return retval; 181 181 } 182 182
Note: See TracChangeset
for help on using the changeset viewer.