exported / snappy

Automatically exported from code.google.com/p/snappy
Other
0 stars 0 forks source link

MIsspelled in code #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile

What is the expected output? What do you see instead?
Failed at ssize_t
-inline void IncrementalCopyFastPath(const char* src, char* op, ssize_t len) {
- static inline void IncrementalCopy(const char* src, char* op, ssize_t len) {

What version of the product are you using? On what operating system?
1.1.1 / Windows 7 64 bit

Please provide any additional information below.
ssize_t maybe mispelled...
When I change it to size_t it works again.

Kind regards
Sphinx

Original issue reported on code.google.com by sphii...@gmail.com on 15 Dec 2013 at 2:27

GoogleCodeExporter commented 9 years ago
Hi,

ssize_t is not a misspelling. It is like size_t, but signed (thus the extra s).

You do not say which compiler you are using, but it sounds like maybe you are 
using MSVC, where you need to define it yourself (possibly using the SSIZE_T 
macro). See issue 79.

Original comment by se...@google.com on 15 Dec 2013 at 10:43