~ubuntu-branches/ubuntu/maverick/gnu-efi/maverick

« back to all changes in this revision

Viewing changes to apps/t.c

  • Committer: Bazaar Package Importer
  • Author(s): Bdale Garbee
  • Date: 2006-03-24 05:02:28 UTC
  • mfrom: (1.1.2 upstream) (3.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20060324050228-tosszi0v4niniq3x
Tags: 3.0c-1
new upstream version, described as a maintenance release for 
compatibility with current gcc and binutils versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        int i;
54
54
 
55
55
        for (i = 0; str[i]; ++i)
56
 
                mem[i] = (unsigned char) str[i];
 
56
                mem[i] = (CHAR16) str[i];
57
57
        mem[i] = 0;
58
58
        return mem;
59
59
}
64
64
        SIMPLE_TEXT_OUTPUT_INTERFACE *conout;
65
65
 
66
66
        conout = systab->ConOut;
67
 
        conout->OutputString(conout, L"Hello World!\n\r");
 
67
        conout->OutputString(conout, (CHAR16 *)L"Hello World!\n\r");
 
68
        conout->OutputString(conout, a2u("Hello World!\n\r"));
68
69
 
69
70
        return EFI_SUCCESS;
70
71
}