~ubuntu-branches/ubuntu/trusty/sblim-sfcb/trusty-proposed

« back to all changes in this revision

Viewing changes to objectImplSwapI32toP32.c

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2009-06-08 12:04:49 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090608120449-byfplk09rqz8rtg6
Tags: 1.3.3-0ubuntu1
* New upstream release.
* debian/rules: Removed rpath hacks, SFCB default build handles that now.
* Removed 1934753-remove-assignment.diff, now upstream.
* Refreshed patch cim-schema-location.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
/*
3
 
 * $Id: objectImplSwapI32toP32.c,v 1.16 2008/01/29 22:38:26 buccella Exp $
 
3
 * $Id: objectImplSwapI32toP32.c,v 1.17 2008/11/07 17:00:44 mchasal Exp $
4
4
 *
5
5
 * © Copyright IBM Corp. 2005, 2007
6
6
 *
262
262
      tp->quals = bswap_16(fp->quals);
263
263
      tp->parameter.type=bswap_16(fp->parameter.type);
264
264
      tp->parameter.arraySize=bswap_32(fp->parameter.arraySize);
 
265
#if __WORDSIZE == 64
 
266
      tp->parameter.refName=(char*)bswap_64((unsigned long long)(fp->parameter.refName));
 
267
#else
265
268
      tp->parameter.refName=(void*)bswap_32((int)(fp->parameter.refName));
 
269
#endif
266
270
      if (fp->qualifiers.used)
267
271
         l += copyI32toP32Qualifiers(ofs + l, to, &tp->qualifiers, from, &fp->qualifiers);
268
272
   }