Ignore:
Timestamp:
Jul 3, 2020, 7:19:17 PM (4 years ago)
Author:
coas-nagasima
Message:

ASP3, TINET, mbed を更新

File:
1 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/asp3_dcre/tinet/netapp/resolver.c

    r331 r429  
    5959#include <kernel.h>
    6060#include <t_syslog.h>
    61 #include <syssvc/logtask.h>
     61#include <target_syssvc.h>
     62#define LOGTASK_PORTID SIO_PORTID
    6263#include "kernel_cfg.h"
    6364#include "tinet_cfg.h"
     
    253254{
    254255        uint_t          label_len;
    255         uint8_t         *tail;
     256        char            *tail;
    256257
    257258        while (*name != '\0') {
     
    265266
    266267                /* ラベル長を設定する。*/
    267                 label_len = tail - (uint8_t*)name;
     268                label_len = tail - name;
    268269                if (label_len > DNS_LABEL_LENGTH) {     /* 63 オクテットをè¶
    269270えるとエラー */
     
    421422
    422423                        /* ドメイン名を追加する。*/
    423                         if ((offset = add_name(msg, msg_size, offset, dns_domain_name)) < 0)
     424                        if ((offset = add_name(msg, msg_size, offset, (char *)dns_domain_name)) < 0)
    424425                                return offset;
    425426
     
    10751076
    10761077        if (new == NULL)
    1077                 strcpy(dns_domain_name, RSLV_CFG_DNS_DOMAIN_NAME_STR);
     1078                strcpy((char *)dns_domain_name, RSLV_CFG_DNS_DOMAIN_NAME_STR);
    10781079        else {
    10791080                dst = dns_domain_name;
Note: See TracChangeset for help on using the changeset viewer.