File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -492,27 +492,27 @@ PyDoc_STRVAR(Reader_next__doc__,
492492 "the `skip`\\-th log entry.\n"
493493 "Returns False if at end of file, True otherwise." );
494494static PyObject * Reader_next (Reader * self , PyObject * args ) {
495- int64_t skip = 1LL ;
495+ int64_t skip = 1 ;
496496 int r = - EUCLEAN ;
497497
498498 assert (self );
499499
500500 if (!PyArg_ParseTuple (args , "|L:next" , & skip ))
501501 return NULL ;
502502
503- if (skip == 0LL ) {
503+ if (skip == 0 ) {
504504 PyErr_SetString (PyExc_ValueError , "skip must be nonzero" );
505505 return NULL ;
506506 }
507507
508508 Py_BEGIN_ALLOW_THREADS
509- if (skip == 1LL )
509+ if (skip == 1 )
510510 r = sd_journal_next (self -> j );
511- else if (skip == -1LL )
511+ else if (skip == -1 )
512512 r = sd_journal_previous (self -> j );
513- else if (skip > 1LL )
513+ else if (skip > 1 )
514514 r = sd_journal_next_skip (self -> j , skip );
515- else if (skip < -1LL )
515+ else if (skip < -1 )
516516 r = sd_journal_previous_skip (self -> j , - skip );
517517 else
518518 assert (!"should be here" );
You can’t perform that action at this time.
0 commit comments