projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stack selection by application-id (configurable), and minor fixes
[anna.git]
/
source
/
core
/
util
/
ZBlock.cpp
diff --git
a/source/core/util/ZBlock.cpp
b/source/core/util/ZBlock.cpp
index
dc6f10f
..
b05c9cc
100644
(file)
--- a/
source/core/util/ZBlock.cpp
+++ b/
source/core/util/ZBlock.cpp
@@
-70,7
+70,7
@@
throw(RuntimeException) {
DataBlock::allocate(maxSize);
char* buffer = (char*) DataBlock::getData();
int aux = htonl(originalSize);
DataBlock::allocate(maxSize);
char* buffer = (char*) DataBlock::getData();
int aux = htonl(originalSize);
-
register
char* w((char*) &aux);
+ char* w((char*) &aux);
/* Establece el tamaño original del buffer */
buffer [0] = *w;
buffer [1] = *(w + 1);
/* Establece el tamaño original del buffer */
buffer [0] = *w;
buffer [1] = *(w + 1);
@@
-109,7
+109,7
@@
throw(RuntimeException) {
char* buffer = (char*) zdata.getData();
int aux;
uLong size;
char* buffer = (char*) zdata.getData();
int aux;
uLong size;
-
register
char* w((char*) &aux);
+ char* w((char*) &aux);
*w = *buffer;
*(w + 1) = *(buffer + 1);
*(w + 2) = *(buffer + 2);
*w = *buffer;
*(w + 1) = *(buffer + 1);
*(w + 2) = *(buffer + 2);