@@ -413,7 +413,7 @@ uint DIV_info_rbound(const DeltaInfoVector* vec, const DeltaInfo* di)
413413
414414// return size of the given delta info item
415415inline
416- uint DIV_info_size2 (const DeltaInfoVector * vec , const DeltaInfo * di , const DeltaInfo const * veclast )
416+ uint DIV_info_size2 (const DeltaInfoVector * vec , const DeltaInfo * di , const DeltaInfo * const veclast )
417417{
418418 if (veclast == di ){
419419 return vec -> di_last_size ;
@@ -534,7 +534,7 @@ uint DIV_count_slice_bytes(const DeltaInfoVector* src, uint ofs, uint size)
534534 }
535535 }
536536
537- const DeltaInfo const * vecend = DIV_end (src );
537+ const DeltaInfo * const vecend = DIV_end (src );
538538 const uchar * nstream ;
539539 for ( ;cdi < vecend ; ++ cdi ){
540540 nstream = next_delta_info (src -> dstream + cdi -> dso , & dc );
@@ -753,7 +753,7 @@ PyObject* DCL_apply(DeltaChunkList* self, PyObject* args)
753753 PyObject * tmpargs = PyTuple_New (1 );
754754
755755 const uchar * data = TSI_first (& self -> istream );
756- const uchar const * dend = TSI_end (& self -> istream );
756+ const uchar * const dend = TSI_end (& self -> istream );
757757
758758 DeltaChunk dc ;
759759 DC_init (& dc , 0 , 0 , 0 , NULL );
@@ -979,8 +979,8 @@ PyObject* connect_deltas(PyObject *self, PyObject *dstreams)
979979 const uchar * data ;
980980 Py_ssize_t dlen ;
981981 PyObject_AsReadBuffer (db , (const void * * )& data , & dlen );
982- const uchar const * dstart = data ;
983- const uchar const * dend = data + dlen ;
982+ const uchar * const dstart = data ;
983+ const uchar * const dend = data + dlen ;
984984 div .dstream = dstart ;
985985
986986 if (dlen > pow (2 , 32 )){
0 commit comments