Browse Source

faux.conv: Fix atoc and atouc prototypes

Serj Kalichev 3 years ago
parent
commit
e7c27c1766
1 changed files with 2 additions and 2 deletions
  1. 2 2
      faux/conv.h

+ 2 - 2
faux/conv.h

@@ -21,8 +21,8 @@ int faux_conv_atoui(const char *str, unsigned int *val, int base);
 int faux_conv_atos(const char *str, short *val, int base);
 int faux_conv_atous(const char *str, unsigned short *val, int base);
 
-int faux_conv_atoc(const char *str, short *val, int base);
-int faux_conv_atouc(const char *str, unsigned short *val, int base);
+int faux_conv_atoc(const char *str, char *val, int base);
+int faux_conv_atouc(const char *str, unsigned char *val, int base);
 
 C_DECL_END