Open hany0ageeb opened 1 year ago
char handle_d_i_specifier(const conversion_specification_t spec, va_list argptr) { char formatted_value = NULL, temp = NULL; signed long int d, len; char sp = spec != NULL ? spec->conversion_specifier : 'Z';
if (sp == 'd' || sp == 'i') { d = handle_len_mod_for_signed(spec, argptr);
//////////////////////////////////////////////////////
long int handle_len_mod_for_signed(const conversion_specification_t *spec, va_list argptr) { long int value;
if (spec->length_modifier == NULL) value = va_arg(argptr, int); else if (spec->length_modifier[0] == 'h') value = (short int)va_arg(argptr, int);
did u found any solution
just change the name of handle_len_mod_for_signed function to handle_len_mod_for_signed_int
betty-style is stupid aF
char handle_d_i_specifier(const conversion_specification_t spec, va_list argptr) { char formatted_value = NULL, temp = NULL; signed long int d, len; char sp = spec != NULL ? spec->conversion_specifier : 'Z';
//////////////////////////////////////////////////////
long int handle_len_mod_for_signed(const conversion_specification_t *spec, va_list argptr) { long int value;