diff options
| author | Wayne Davison <wayned@samba.org> | 2006-11-21 08:35:58 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2006-11-21 08:35:58 +0000 |
| commit | 264042760bd909eeca281dc8c937357e98bf6bf8 (patch) | |
| tree | b4c302f4453df23aa47d35d340fbabfe4e537e45 /util.c | |
| parent | 1e999f9f1b6940a4b355054b5f15435c3030996c (diff) | |
| download | android_external_rsync-264042760bd909eeca281dc8c937357e98bf6bf8.tar.gz android_external_rsync-264042760bd909eeca281dc8c937357e98bf6bf8.tar.bz2 android_external_rsync-264042760bd909eeca281dc8c937357e98bf6bf8.zip | |
Use an explicit cast when a value gets stored in a smaller var.
Diffstat (limited to 'util.c')
| -rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1128,7 +1128,7 @@ char *human_num(int64 num) if (!num) *--s = '0'; while (num) { - *--s = (num % 10) + '0'; + *--s = (char)(num % 10) + '0'; num /= 10; } return s; |
