~ubuntu-branches/ubuntu/gutsy/commons-daemon/gutsy

« back to all changes in this revision

Viewing changes to src/native/nt/procrun/src/mclib.c

  • Committer: Bazaar Package Importer
  • Author(s): Marcus Better
  • Date: 2006-12-04 14:29:08 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20061204142908-qi10o2kroi001aci
Tags: 1.0.2~svn20061127-4
Apparently buildds don't grok Build-Depends-Indep. Moved to
Build-Depends as a workaround.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
57
57
 
58
58
    SIZE_T t;
 
59
#ifdef WIN64
 
60
    UINT64 c;
 
61
#else
59
62
    UINT   c;
 
63
#endif
60
64
    LPBYTE dst;
61
65
 
62
66
    dst = Destination;
100
104
    /* Fill words.  Length was >= 2*words so we know t >= 1 here. */
101
105
    t = Length / wsize;
102
106
    do {
103
 
        *(UINT *)dst = c;
 
107
#ifdef WIN64
 
108
        *(UINT64 *)dst = c;
 
109
#else
 
110
        *(UINT   *)dst = c;
 
111
#endif
104
112
        dst += wsize;
105
113
    } while (--t != 0);
106
114