Skip to content

Commit cf6da99

Browse files
committed
rename reserved word char to c
1 parent 5e3cfe5 commit cf6da99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/writer.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ p.addCString = function(string) {
6363
return this;
6464
};
6565

66-
p.addChar = function(char) {
66+
p.addChar = function(c) {
6767
this._ensure(1);
68-
writeString(this.buffer, char, this.offset, 1);
68+
writeString(this.buffer, c, this.offset, 1);
6969
this.offset++;
7070
return this;
7171
};

0 commit comments

Comments
 (0)