Changeset 8973acd in buchla-68k for libcio/putl.c
- Timestamp:
- 07/15/2017 03:12:10 PM (7 years ago)
- Branches:
- master
- Children:
- ea232f9
- Parents:
- 7d0d347
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcio/putl.c
r7d0d347 r8973acd 12 12 void putl(int32_t w, FILE *stream) 13 13 { 14 if (putc((( w >> 24) & 0xFF), stream) < 0 )14 if (putc(((int16_t)(w >> 24) & 0xFF), stream) < 0) 15 15 return; 16 16 17 if (putc(( (w >> 16) & 0xFF), stream) < 0 )17 if (putc((int16_t)((w >> 16) & 0xFF), stream) < 0) 18 18 return; 19 19 20 if (putc(( (w >> 8) & 0xFF), stream) < 0 )20 if (putc((int16_t)((w >> 8) & 0xFF), stream) < 0) 21 21 return; 22 22
Note:
See TracChangeset
for help on using the changeset viewer.