summaryrefslogtreecommitdiff
path: root/src/AsciiSrc.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-11-07 22:01:06 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-11-07 22:01:06 -0800
commit1955d3917b8d24d7a8621ad80b160e4cefde6fc9 (patch)
tree484ab783bbdcffdb41f9073196dd4ed0bd998510 /src/AsciiSrc.c
parent3b0de83ef4f2cdb0bfa52aba9092b56a1a1dc6ea (diff)
downloadxorg-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.c2
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),