Skip to content

Commit

Permalink
dertoh: Nitpicked/hushed size_t to int warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
TaleTN committed Sep 24, 2021
1 parent 8eca4ef commit 757e928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dertoh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ int main(int argc, char** argv)
FILE* f = fopen(public_key, "rb");
if (!f) return error("File not found");
unsigned char buf[400]; // 2048 bits
int len = fread(buf, 1, sizeof(buf), f);
int len = (int)fread(buf, 1, sizeof(buf), f);
fclose(f);
if (!len) return error("Read error");

Expand Down

0 comments on commit 757e928

Please sign in to comment.