aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/dos2unix.c2
-rw-r--r--coreutils/md5sum.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c
index 4ca665841..e97c3ba9a 100644
--- a/coreutils/dos2unix.c
+++ b/coreutils/dos2unix.c
@@ -33,7 +33,7 @@
33 33
34// if fn is NULL then input is stdin and output is stdout 34// if fn is NULL then input is stdin and output is stdout
35static int convert(char *fn, int ConvType) { 35static int convert(char *fn, int ConvType) {
36 char c; 36 int c;
37 char *tempFn = NULL; 37 char *tempFn = NULL;
38 FILE *in = stdin, *out = stdout; 38 FILE *in = stdin, *out = stdout;
39 39
diff --git a/coreutils/md5sum.c b/coreutils/md5sum.c
index a9bbdef36..e5a2abe78 100644
--- a/coreutils/md5sum.c
+++ b/coreutils/md5sum.c
@@ -244,7 +244,7 @@ void *md5_finish_ctx(struct md5_ctx *ctx, void *resbuf)
244 /* Put the 64-bit file length in *bits* at the end of the buffer. */ 244 /* Put the 64-bit file length in *bits* at the end of the buffer. */
245 *(md5_uint32 *) & ctx->buffer[bytes + pad] = SWAP(ctx->total[0] << 3); 245 *(md5_uint32 *) & ctx->buffer[bytes + pad] = SWAP(ctx->total[0] << 3);
246 *(md5_uint32 *) & ctx->buffer[bytes + pad + 4] = 246 *(md5_uint32 *) & ctx->buffer[bytes + pad + 4] =
247 SWAP((ctx->total[1] << 3) | (ctx->total[0] >> 29)); 247 SWAP( ((ctx->total[1] << 3) | (ctx->total[0] >> 29)) );
248 248
249 /* Process last bytes. */ 249 /* Process last bytes. */
250 md5_process_block(ctx->buffer, bytes + pad + 8, ctx); 250 md5_process_block(ctx->buffer, bytes + pad + 8, ctx);