summaryrefslogtreecommitdiff
path: root/client/wallet.c
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2007-08-29 21:42:25 +0000
committerRuss Allbery <rra@stanford.edu>2007-08-29 21:42:25 +0000
commit53b27504ee9c1e323c5842d82862e40cdafe408f (patch)
tree5234e3f5cad20cc9b226285ca60daed868906532 /client/wallet.c
parent68f5fbb99b9c58baf7d04ba371df77e28022b318 (diff)
Kill warnings. We now build with all warnings enabled.
Diffstat (limited to 'client/wallet.c')
-rw-r--r--client/wallet.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/wallet.c b/client/wallet.c
index 7b62c1f..05066f2 100644
--- a/client/wallet.c
+++ b/client/wallet.c
@@ -72,7 +72,6 @@ main(int argc, char *argv[])
long tmp;
char *end;
- command[0] = "wallet";
while ((option = getopt(argc, argv, "c:f:k:hp:S:s:v")) != EOF) {
switch (option) {
case 'c':
@@ -162,7 +161,7 @@ main(int argc, char *argv[])
if (status < 0) {
fprintf(stderr, "write to %s failed: %s", file, strerror(errno));
exit(1);
- } else if (status != result->stdout_len) {
+ } else if (status != (ssize_t) result->stdout_len) {
fprintf(stderr, "write to %s truncated", file);
exit(1);
}