Fixed a compiler warning.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5337 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
920a3eb794
commit
5be3aeab7f
1 changed files with 4 additions and 4 deletions
|
@ -209,7 +209,7 @@ void fillOut(char *name, int len, char *filler) {
|
||||||
|
|
||||||
setLen(name, len);
|
setLen(name, len);
|
||||||
fprintf(outputSFile, "\t.byte \"%s\"\n", name);
|
fprintf(outputSFile, "\t.byte \"%s\"\n", name);
|
||||||
|
|
||||||
a = strlen(name);
|
a = strlen(name);
|
||||||
if (a < len) {
|
if (a < len) {
|
||||||
fprintf(outputSFile, "\t.res (%i - %i), %s\n", len, a, filler);
|
fprintf(outputSFile, "\t.res (%i - %i), %s\n", len, a, filler);
|
||||||
|
@ -496,8 +496,8 @@ void DoHeader(void) {
|
||||||
if (apple == 1) {
|
if (apple == 1) {
|
||||||
|
|
||||||
fprintf(outputSFile,
|
fprintf(outputSFile,
|
||||||
"\t.byte %i << 4 | %i\n",
|
"\t.byte %i << 4 | %u\n",
|
||||||
myHead.structure + 2, strlen(myHead.dosname));
|
myHead.structure + 2, (unsigned) strlen(myHead.dosname));
|
||||||
|
|
||||||
fillOut(myHead.dosname, 15, "0");
|
fillOut(myHead.dosname, 15, "0");
|
||||||
|
|
||||||
|
@ -623,7 +623,7 @@ void DoVLIR(void) {
|
||||||
if (lastrecord == -1) {
|
if (lastrecord == -1) {
|
||||||
AbEnd("There must be at least one VLIR record.\n");
|
AbEnd("There must be at least one VLIR record.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* always include record 0 */
|
/* always include record 0 */
|
||||||
vlirtable[0] = 1;
|
vlirtable[0] = 1;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue