Skip to content

Commit

Permalink
Fix broken NVTT tokenizer (sscanf -> vsscanf).
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kovalenko committed Aug 24, 2014
1 parent 416ede2 commit c984dd3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cs/3rd party/NVTT/src/nvcore/Tokenizer.cpp
Expand Up @@ -116,9 +116,7 @@ bool Token::parse(const char * format, int count, ...) const
va_list arg;
va_start(arg, count);

// int readCount = vsscanf(m_str, format, arg);

int readCount = sscanf(m_str, format, arg);
int readCount = vsscanf(m_str, format, arg);

va_end(arg);

Expand Down

0 comments on commit c984dd3

Please sign in to comment.