Merge pull request #38 from XXXXzzzz000/fix_error

修复gcc编译报错
This commit is contained in:
朱天龙 (Armink) 2018-11-23 09:54:49 +08:00 committed by GitHub
commit 232462a9d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -616,7 +616,7 @@ void ef_print_env(void) {
for (j = 0; j < 4; j++) {
c = (*env_cache_detail_addr) >> (8 * j);
ef_print("%c", c);
if (c == NULL) {
if (c == '\0') {
ef_print("\n");
break;
}