diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-11-07 22:01:06 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-11-07 22:01:06 -0800 |
commit | 1955d3917b8d24d7a8621ad80b160e4cefde6fc9 (patch) | |
tree | 484ab783bbdcffdb41f9073196dd4ed0bd998510 /src/AsciiSrc.c | |
parent | 3b0de83ef4f2cdb0bfa52aba9092b56a1a1dc6ea (diff) | |
download | xorg-lib-libXaw-1955d3917b8d24d7a8621ad80b160e4cefde6fc9.tar.gz |
Use SEEK_* names instead of raw numbers for fseek whence argument
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/AsciiSrc.c')
-rw-r--r-- | src/AsciiSrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AsciiSrc.c b/src/AsciiSrc.c index 87efdf2..9e5fa5e 100644 --- a/src/AsciiSrc.c +++ b/src/AsciiSrc.c @@ -1514,7 +1514,7 @@ LoadPieces(AsciiSrcObject src, FILE *file, char *string) int len; left = 0; - fseek(file, 0, 0); + fseek(file, 0, SEEK_SET); while (left < src->ascii_src.length) { ptr = XtMalloc((unsigned)src->ascii_src.piece_size); if ((len = fread(ptr, sizeof(unsigned char), |