Merge pull request #2188 from neheb/cast

Add casts where needed in C++ mode
This commit is contained in:
Jens Steube
2019-11-05 12:28:21 +01:00
committed by GitHub
12 changed files with 161 additions and 159 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ void hc_fflush (HCFILE *fp);
void hc_fclose (HCFILE *fp);
int hc_fputc (int c, HCFILE *fp);
char *hc_fgets (char *buf, int len, HCFILE *fp);
size_t hc_fwrite (void *ptr, size_t size, size_t nmemb, HCFILE *fp);
size_t hc_fwrite (const void *ptr, size_t size, size_t nmemb, HCFILE *fp);
size_t hc_fread (void *ptr, size_t size, size_t nmemb, HCFILE *fp);
size_t fgetl (HCFILE *fp, char *line_buf, const size_t line_sz);