Check-in Number:
|
1448 | |
Date: |
2001-Dec-22 23:04:18 (local)
2001-Dec-22 22:04:18 (UTC) |
User: | rse |
Branch: | |
Comment: |
remove warning |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/l2/l2_spec.c 1.5 -> 1.6
--- l2_spec.c 2001/12/14 12:42:07 1.5
+++ l2_spec.c 2001/12/22 22:04:18 1.6
@@ -120,7 +120,7 @@
/* calculate line and column of token */
line = 1;
column = 1;
- for (cp = ctx->inputbuf; cp < (ctx->inputbuf+ctx->inputlen) && cp != cpF; cp++) {
+ for (cp = (char *)ctx->inputbuf; cp < (ctx->inputbuf+ctx->inputlen) && cp != cpF; cp++) {
column++;
if (*cp == '\n') {
column = 1;
|
|