diff options
author | 2013-01-15 17:52:03 +0800 | |
---|---|---|
committer | 2013-01-17 22:45:06 +0800 | |
commit | 86002436837003a0b3655d5c41e51ca12b746bc1 (patch) | |
tree | 332abe4bf079b2f8c3185ecbf0405d48cf66be05 /expand.cpp | |
parent | c6e59874800f698d2b27f495028bf3ae851b4ff1 (diff) |
Fix two clang warnings
Diffstat (limited to 'expand.cpp')
-rw-r--r-- | expand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -753,14 +753,14 @@ static int expand_pid(const wcstring &instr_with_sep, if (wcsncmp(in+1, SELF_STR, wcslen(in+1))==0) { append_completion(out, - SELF_STR+wcslen(in+1), + &SELF_STR[wcslen(in+1)], COMPLETE_SELF_DESC, 0); } else if (wcsncmp(in+1, LAST_STR, wcslen(in+1))==0) { append_completion(out, - LAST_STR+wcslen(in+1), + &LAST_STR[wcslen(in+1)], COMPLETE_LAST_DESC, 0); } |