Skip to content

Commit 920ca5e

Browse files
committed
gcc picked up error - returns string, not char
1 parent 1ab8a65 commit 920ca5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

expand.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ char *src;
328328

329329
if (mod & JUST_FIRST_FLAG) {
330330
SET_TOKEN(&str, src);
331-
if ((s = Get_token(&str,"",FALSE)) != '\0') {
331+
if (*(s = Get_token(&str,"",FALSE)) != '\0') {
332332
/* Recycle the quote at the beginning. */
333333
if(str.tk_quote == 0) {
334334
s--;

0 commit comments

Comments
 (0)