Skip to content

Commit d6a0448

Browse files
committed
Changed read type in xbuf
1 parent b407f30 commit d6a0448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/buf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ int XByteBuffer_ReadStdin(xbyte_buffer_t *pBuffer)
211211
{
212212
if (pBuffer == NULL) return XSTDERR;
213213
char sBuffer[XSTR_MID];
214-
int nRead = 0;
214+
size_t nRead = 0;
215215

216216
while ((nRead = fread(sBuffer, 1, sizeof(sBuffer), stdin)) > 0)
217217
{

0 commit comments

Comments
 (0)