Changeset 2076


Ignore:
Timestamp:
Jun 14, 2007, 11:41:09 AM (15 years ago)
Author:
titer
Message:

BeOS fixes

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/beos/TRInfoWindow.cpp

    r1530 r2076  
    1212
    1313
    14 TRInfoWindow::TRInfoWindow(tr_stat_t *status, tr_info_t *info, char *folder) : BWindow(BRect(0, 0, 250, 175), "Info",
     14TRInfoWindow::TRInfoWindow(tr_stat_t *status, tr_info_t *info, const char *folder) : BWindow(BRect(0, 0, 250, 175), "Info",
    1515                          B_FLOATING_WINDOW, B_ASYNCHRONOUS_CONTROLS | /*B_NOT_RESIZABLE*/  B_NOT_ZOOMABLE,
    1616                          B_CURRENT_WORKSPACE)
  • trunk/beos/TRInfoWindow.h

    r1505 r2076  
    1212class TRInfoWindow : public BWindow {
    1313public:
    14         TRInfoWindow(tr_stat_t *status, tr_info_t *info, char *folder);
     14        TRInfoWindow(tr_stat_t *status, tr_info_t *info, const char *folder);
    1515        ~TRInfoWindow();
    1616       
  • trunk/libtransmission/bencode.h

    r1998 r2076  
    2626#define TR_BENCODE_H 1
    2727
    28 #include <stdint.h> /* for int64_t */
     28#include <inttypes.h> /* for int64_t */
    2929#include <string.h> /* for memset */
    3030
  • trunk/libtransmission/inout.c

    r1995 r2076  
    169169    if (reorder)
    170170        {
     171                int reorderRuns;
     172
    171173                tr_dbg( "reorder pieces");
    172 
    173                 int reorderRuns = reorderPieces( io );
     174                reorderRuns = reorderPieces( io );
    174175
    175176                if (io->slotsUsed == slotsUsedOld && reorderRuns > 0)
  • trunk/libtransmission/ipcparse.h

    r2038 r2076  
    2626#define TR_DAEMON_IPC_H
    2727
    28 #include <stdint.h>
     28#include <inttypes.h>
    2929
    3030/* yay for typedefs, we can't forward declare benc_val_t or tr_info_t
Note: See TracChangeset for help on using the changeset viewer.