Changeset 3893 in MondoRescue for branches/3.3/mondo/src/lib
- Timestamp:
- Mar 13, 2024, 4:49:30 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mondo/src/lib/mr_str.c
r3892 r3893 26 26 * @note this function allocates memory that needs to be freed by caller 27 27 **/ 28 char *mr_strtok(char *instr, const char *delims, int *lastpos) {28 char *mr_strtok(char *instr, const char *delims, size_t *lastpos) { 29 29 30 30 char *token = NULL; … … 57 57 *lastpos = *lastpos + pos1 + pos2 + 1; 58 58 59 return token;59 return(token); 60 60 } 61 61 … … 205 205 char *output = NULL; 206 206 char *tmp = NULL; 207 int i = 0;207 size_t i = 0; 208 208 209 209 mr_asprintf(output, "%s", in);
Note:
See TracChangeset
for help on using the changeset viewer.