~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbxt/src/filesys_xt.cc

  • Committer: Brian Aker
  • Date: 2010-05-05 06:09:09 UTC
  • mfrom: (1515.1.2 bug-fix-572633)
  • Revision ID: brian@gaz-20100505060909-eeo12728m5dx5l6q
MErge Paul. PBXT only

Show diffs side-by-side

added added

removed removed

Lines of Context:
1498
1498
                                /* Consolidate 2 blocks that are closest to each other in other to
1499
1499
                                 * make space for another block:
1500
1500
                                 */
1501
 
                                int             i;
 
1501
                                size_t  i;
1502
1502
                                off_t   gap;
1503
1503
                                off_t   min_gap = (off_t) -1;
1504
1504
 
1527
1527
                        /* Wait for flush to pass this point: */
1528
1528
                        for (;;) {
1529
1529
                                flush_offset = ((xtWord8) rf->rf_flush_offset_hi << 32) | rf->rf_flush_offset_lo;
1530
 
                                if (offset < flush_offset)
 
1530
                                if ((xtWord8) offset < flush_offset)
1531
1531
                                        break;
1532
1532
                                xt_critical_wait();
1533
1533
                        }
1730
1730
                case XT_FT_REWRITE_FLUSH:
1731
1731
                        XTRewriteFlushPtr       rf;
1732
1732
                        RewriteBlockPtr         rec;
1733
 
                        int                                     i;
 
1733
                        size_t                          i;
1734
1734
                        off_t                           offset;
1735
1735
                        off_t                           size;
1736
1736
                        off_t                           tfer;