summaryrefslogtreecommitdiff
path: root/other/fun/sign.c
diff options
context:
space:
mode:
Diffstat (limited to 'other/fun/sign.c')
-rw-r--r--other/fun/sign.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/other/fun/sign.c b/other/fun/sign.c
index 0cd8f38e..b24cdae7 100644
--- a/other/fun/sign.c
+++ b/other/fun/sign.c
@@ -24,8 +24,8 @@ int load_file(char *filename, char **result)
24 int size = 0; 24 int size = 0;
25 FILE *f = fopen(filename, "rb"); 25 FILE *f = fopen(filename, "rb");
26 26
27 if (f == NULL) { 27 if (f == nullptr) {
28 *result = NULL; 28 *result = nullptr;
29 return -1; // -1 means file opening fail 29 return -1; // -1 means file opening fail
30 } 30 }
31 31
@@ -88,7 +88,7 @@ int main(int argc, char *argv[])
88 88
89 FILE *f = fopen(argv[4], "wb"); 89 FILE *f = fopen(argv[4], "wb");
90 90
91 if (f == NULL) { 91 if (f == nullptr) {
92 goto fail; 92 goto fail;
93 } 93 }
94 94