mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
beda478821
Dealing with the unsigned overflow propagation here just seems unreasonably error prone. Let's limit ourselves to 2GB buffer sizes instead.
10 lines
139 B
C
10 lines
139 B
C
#pragma once
|
|
|
|
#include "UnixTypes.h"
|
|
|
|
inline static const off_t maxFileOffset = 2147483647;
|
|
|
|
static const ssize_t GoodBufferSize = 4096;
|
|
|
|
|