Changeset 12343 in project


Ignore:
Timestamp:
11/03/08 05:38:55 (13 years ago)
Author:
Jim Ursetto
Message:

base64: fix signedness issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/3/base64/trunk/base64.scm

    r10017 r12343  
    5151};
    5252
    53 static void base64_encode(char *dst, const char *src, int len) {
     53static void base64_encode(char *dst, const char *src0, int len) {
    5454    int i, o, r;
     55    const unsigned char *src = (unsigned char *)src0;
    5556    for (i = 0, o = 0, r = len; i < len; i+= 3, o+= 4, r -= 3) {
    5657        int n = src[i] << 16;
Note: See TracChangeset for help on using the changeset viewer.