Changeset 8973acd in buchla-68k for libcio/dirfns.c


Ignore:
Timestamp:
07/15/2017 03:12:10 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
ea232f9
Parents:
7d0d347
Message:

No more warnings in libcio.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcio/dirfns.c

    r7d0d347 r8973acd  
    7272*/
    7373
    74 int8_t *dtunpk(int16_t din, int16_t tin, int8_t *s, int16_t fmt)
     74int8_t *dtunpk(uint16_t din, uint16_t tin, int8_t *s, int16_t fmt)
    7575{
    76         register int16_t        ftm, fdt;
     76        register uint16_t       ftm, fdt;
    7777
    78         ftm = ((tin << 8) & 0xFF00) | ((tin >> 8) & 0x00FF);
    79         fdt = ((din << 8) & 0xFF00) | ((din >> 8) & 0x00FF);
     78        ftm = micon16(tin);
     79        fdt = micon16(din);
    8080
    8181        switch (fmt) {
Note: See TracChangeset for help on using the changeset viewer.