diff options
Diffstat (limited to 'source3/client/smbumount.c')
-rw-r--r-- | source3/client/smbumount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/smbumount.c b/source3/client/smbumount.c index 4be54b6793..1664e4b555 100644 --- a/source3/client/smbumount.c +++ b/source3/client/smbumount.c @@ -80,7 +80,7 @@ umount_ok(const char *mount_point) static char * canonicalize (char *path) { - char *canonical = malloc (PATH_MAX + 1); + char *canonical = (char*)malloc (PATH_MAX + 1); if (!canonical) { fprintf(stderr, "Error! Not enough memory!\n"); |