Commit 937de41a authored by unknown's avatar unknown
Browse files

ndb -

  Fix compile error with gcc296


ndb/src/common/util/SimpleProperties.cpp:
  Fix compile error with gcc296
parent 5f5fc659
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -51,11 +51,12 @@ SimpleProperties::Writer::add(const char * value, int len){
  union {
    Uint32 lastWord;
    char lastBytes[4];
  };
  memcpy(lastBytes,
  } tmp;
  tmp.lastWord =0 ;
  memcpy(tmp.lastBytes,
         value + putLen*4,
         len - putLen*4);
  return putWord(lastWord);
  return putWord(tmp.lastWord);
}

bool