diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2006-03-07 21:30:36 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2006-03-07 21:30:36 +0000 |
commit | 4cb83571c45670eb8111801499281ea416b5074d (patch) | |
tree | e46e881ad2f0ace5a02761e7cdb4f808df12d9f5 /Src/prompt.c | |
parent | e17fc5079394ce0c30dc0573676983e6f4a0a5bc (diff) | |
download | zsh-4cb83571c45670eb8111801499281ea416b5074d.tar.gz zsh-4cb83571c45670eb8111801499281ea416b5074d.tar.xz zsh-4cb83571c45670eb8111801499281ea416b5074d.zip |
Changed some structures to avoid gcc's type-punned warnings.
Diffstat (limited to 'Src/prompt.c')
-rw-r--r-- | Src/prompt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/prompt.c b/Src/prompt.c index e45e9573e..be7dc672c 100644 --- a/Src/prompt.c +++ b/Src/prompt.c @@ -113,7 +113,7 @@ promptpath(char *p, int npath, int tilde) Nameddir nd; if (tilde && ((nd = finddir(p)))) - modp = tricat("~", nd->nam, p + strlen(nd->dir)); + modp = tricat("~", nd->node.nam, p + strlen(nd->dir)); if (npath) { char *sptr; |