ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Represent/Binary.cpp
(Generate patch)

Comparing Represent/Binary.cpp (file contents):
Revision 370 by douglas, 2004-12-21T22:04:06-08:00 vs.
Revision 372 by douglas, 2004-12-21T23:53:49-08:00

# Line 6 | Line 6
6  
7   #include "Binary.hpp"
8  
9 + #ifdef _WIN32
10 + #pragma warning(disable:4267)
11 + #endif
12 +
13   Binary::Binary(const ext::String& string, bool signed_) : bytes(string.GetSize() / 8, 0)
14   {
15          if (string.IsEmpty())
# Line 14 | Line 18 | Binary::Binary(const ext::String& string
18  
19                  return;
20          }
17 //              string.insert(0, 8 - off, signed_ && string[0] == '1' ? '1' : '0');
21  
22          size_t index(string.GetSize() % 8), offset(index);
23  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines