From 8bf6b723357efbd8667ac3affc71663d2489fe05 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 23 Feb 2003 22:03:11 +0000 Subject: [PATCH] style; no space after cast, and add cast to the assignment case too. --- sys/fs/smbfs/smbfs_smb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/fs/smbfs/smbfs_smb.c b/sys/fs/smbfs/smbfs_smb.c index e8ecab4dfc34..e468b00c15b2 100644 --- a/sys/fs/smbfs/smbfs_smb.c +++ b/sys/fs/smbfs/smbfs_smb.c @@ -1,4 +1,4 @@ -/* $NetBSD: smbfs_smb.c,v 1.7 2003/02/23 21:26:26 jdolecek Exp $ */ +/* $NetBSD: smbfs_smb.c,v 1.8 2003/02/23 22:03:11 christos Exp $ */ /* * Copyright (c) 2000-2001 Boris Popov @@ -853,7 +853,7 @@ smbfs_findopenLM1(struct smbfs_fctx *ctx, struct smbnode *dnp, ctx->f_wildcard = NULL; ctx->f_wclen = 0; } - ctx->f_name = ctx->f_fname; + ctx->f_name = (char *)ctx->f_fname; return 0; } @@ -883,7 +883,7 @@ smbfs_findnextLM1(struct smbfs_fctx *ctx, int limit) md_get_uint16le(mbp, &time); md_get_uint16le(mbp, &date); md_get_uint32le(mbp, &size); - KASSERT(ctx->f_name == (char *) ctx->f_fname); + KASSERT(ctx->f_name == (char *)ctx->f_fname); cp = ctx->f_name; md_get_mem(mbp, cp, sizeof(ctx->f_fname), MB_MSYSTEM); cp[sizeof(ctx->f_fname) - 1] = '\0';