commit | 978078fd22fd3ab3863c9a826d6099ef9c7f5523 | [log] [tgz] |
---|---|---|
author | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | Wed Oct 27 13:24:51 2004 +0000 |
committer | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | Wed Oct 27 13:24:51 2004 +0000 |
tree | 1102d8822dbaa3975a49079973ed84bc0f713f51 | |
parent | 753b194228babd2c9557a7541baa8bda41479d94 [diff] [blame] |
strip is generally unnecessary git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@567 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/NativeInteger.c b/skeletons/NativeInteger.c index 159d00d..dd5c3e1 100644 --- a/skeletons/NativeInteger.c +++ b/skeletons/NativeInteger.c
@@ -147,9 +147,9 @@ uint8_t buf[sizeof(int)]; uint8_t *p; - /* Prepare fake INTEGER */ + /* Prepare a fake INTEGER */ for(p = buf + sizeof(buf) - 1; p >= buf; p--, Int >>= 8) - *p = Int & 0xff; + *p = Int; tmp.buf = buf; tmp.size = sizeof(buf);