aboutsummaryrefslogtreecommitdiff
path: root/m.c
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-05-03 11:55:12 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-05-03 11:55:12 +0200
commit099c4db0a3a8e77deb7af7436faec802fe9401de (patch)
tree80611d2f441e1c1652e37421c835140dc783a85e /m.c
parentbdcbb4816251b726f37c995880d1517196fb822b (diff)
downloadAsciiMap-099c4db0a3a8e77deb7af7436faec802fe9401de.tar.gz
Fixing whitespace errors
Diffstat (limited to 'm.c')
-rw-r--r--m.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/m.c b/m.c
index c8d3a23..b1401f1 100644
--- a/m.c
+++ b/m.c
@@ -2,15 +2,15 @@
uint8_t avg(int argc, uint8_t *argv)
{
- uint8_t ret = 0;
- uint64_t sum = 0;
+ uint8_t ret = 0;
+ uint64_t sum = 0;
- for(int i = 0; i < argc; i++)
- sum += (uint64_t)argv[i];
+ for(int i = 0; i < argc; i++)
+ sum += (uint64_t)argv[i];
- ret = (char)(sum / argc);
+ ret = (char)(sum / argc);
- return ret;
+ return ret;
}//avg