memarea: Don't assume that sizeof(ulong) >= sizeof(void*).

Fixes bug 18716; bugfix on 0.2.1.1-alpha where memarea.c was
introduced.  Found by wbenny.
This commit is contained in:
Nick Mathewson
2016-04-07 11:10:14 -04:00
parent ad4ff7a5b9
commit 39c057d45a
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (assert, portability):
- Fix an assertion failure in memarea.c on systems where "long" is
shorter than the size of a pointer.
Fixes bug 18716; bugfix on 0.2.1.1-alpha