Changeset 14216
- Timestamp:
- Dec 16, 2013, 4:32:55 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/jsonsl.c
r14171 r14216 870 870 jsn->jprs = malloc(sizeof(jsonsl_jpr_t) * njprs); 871 871 jsn->jpr_count = njprs; 872 jsn->jpr_root = calloc(1, sizeof( int) * njprs * jsn->levels_max);872 jsn->jpr_root = calloc(1, sizeof(size_t) * njprs * jsn->levels_max); 873 873 memcpy(jsn->jprs, jprs, sizeof(jsonsl_jpr_t) * njprs); 874 874 /* Set the initial jump table values */
Note: See TracChangeset
for help on using the changeset viewer.