Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 363243
Collapse All | Expand All

(-)a/src/data/memory_chunk.cc (-1 / +1 lines)
Lines 71-77 MemoryChunk::MemoryChunk(char* ptr, char* begin, char* end, int prot, int flags) Link Here
71
  if (page_align() >= m_pagesize)
71
  if (page_align() >= m_pagesize)
72
    throw internal_error("MemoryChunk::MemoryChunk(...) received an page alignment >= page size");
72
    throw internal_error("MemoryChunk::MemoryChunk(...) received an page alignment >= page size");
73
73
74
  if ((ptrdiff_t)ptr % m_pagesize)
74
  if ((std::ptrdiff_t)ptr % m_pagesize)
75
    throw internal_error("MemoryChunk::MemoryChunk(...) is not aligned to a page");
75
    throw internal_error("MemoryChunk::MemoryChunk(...) is not aligned to a page");
76
}
76
}
77
77
(-)a/src/torrent/data/block.h (+1 lines)
Lines 37-42 Link Here
37
#ifndef LIBTORRENT_BLOCK_H
37
#ifndef LIBTORRENT_BLOCK_H
38
#define LIBTORRENT_BLOCK_H
38
#define LIBTORRENT_BLOCK_H
39
39
40
#include <cstddef>
40
#include <vector>
41
#include <vector>
41
#include <torrent/common.h>
42
#include <torrent/common.h>
42
#include <torrent/data/block_transfer.h>
43
#include <torrent/data/block_transfer.h>
(-)a/src/torrent/data/block_transfer.h (+1 lines)
Lines 37-42 Link Here
37
#ifndef LIBTORRENT_BLOCK_TRANSFER_H
37
#ifndef LIBTORRENT_BLOCK_TRANSFER_H
38
#define LIBTORRENT_BLOCK_TRANSFER_H
38
#define LIBTORRENT_BLOCK_TRANSFER_H
39
39
40
#include <cstddef>
40
#include <torrent/common.h>
41
#include <torrent/common.h>
41
#include <torrent/data/piece.h>
42
#include <torrent/data/piece.h>
42
43

Return to bug 363243