13 Dec
2011
13 Dec
'11
2:23 p.m.
At Tue, 13 Dec 2011 18:19:49 +0530, Nallasellan, Singaravelan wrote:
- size_t buffer_size;
- size_t fragment_size;
Can we define buffer_size and fragment_size as unsigned items?
size_t is unsigned.
But, it needs consideration whether size_t is the best choice, since size_t is basically a long, thus its size is different between 32bit and 64bit architectures. This may lead to mess in many cases when you think of overlapping.
Takashi