]> Git Repo - qemu.git/blobdiff - thunk.h
xilinx_zynq: machine model initial version
[qemu.git] / thunk.h
diff --git a/thunk.h b/thunk.h
index 597d753c79a668e4bc3919a51b00b23f6fea1322..98107431913ad7d580547069f4cfe5cefe4b7e59 100644 (file)
--- a/thunk.h
+++ b/thunk.h
@@ -14,8 +14,7 @@
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA  02110-1301 USA
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 #ifndef THUNK_H
 #define THUNK_H
@@ -100,7 +99,7 @@ static inline int thunk_type_size(const argtype *type_ptr, int is_host)
     case TYPE_PTRVOID:
     case TYPE_PTR:
         if (is_host) {
-            return HOST_LONG_SIZE;
+            return sizeof(void *);
         } else {
             return TARGET_ABI_BITS / 8;
         }
@@ -137,7 +136,7 @@ static inline int thunk_type_align(const argtype *type_ptr, int is_host)
     case TYPE_PTRVOID:
     case TYPE_PTR:
         if (is_host) {
-            return HOST_LONG_SIZE;
+            return sizeof(void *);
         } else {
             return TARGET_ABI_BITS / 8;
         }
This page took 0.022475 seconds and 4 git commands to generate.